[Up: Time Service]
[Previous: Interface UTO] [Next: Java Interface]

# TIO

This objects represents an intervall with start and endpoint. You may query the values and compare it with other objects. TIOs are created by the interface TimeService. I think the OMG specification lacks the method to destroy an TIO, so this non standard feature was added.

- `readonly attribute
  TimeBase::IntervalT time_interval;`
  Consists of a lower and an upper bound for the time interval.

- `CosTime::OverlapType spans (in UTO time,
  out TIO overlap);`
  This operation compares the time in this interface with the time in the supplied UTO and returns the overlap type as well as the interval of overlap in the form of a TIO.

- `CosTime::OverlapType overlaps (in TIO interval,
  out TIO overlap);`
  This operation compares the time in this interface with the time in the supplied TIO and returns the overlap type as well as the interval of overlap in the form of a TIO.

- `UTO time ();`
  Converts the time interval in this interface into a UTO object by taking the midpoint of the interval as the time and the interval as the error envelope around the time.

- `void destroy ();`
  This is a non-standard extension of the official OMG specs, it destroys the object to save memory

[Previous: Interface UTO] [Next: Java Interface]
[Up: Time Service]