Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosTime::UTO Interface Reference

An instance of the UTO interface represents an instant in time. More...

import "CosTime.idl";

List of all members.

Public Methods

UTO absolute_time ()
 This operation calculates an absolute time taking the current UTO contents as a time relative to the current system time. More...

TimeComparison compare_time (in ComparisonType comparison_type, in UTO ut)
 Compares this UTO to another. More...

TIO time_to_interval (in UTO ut)
 Generates the interval between this UTO and another. More...

TIO interval ()
 Generates an interval based on this UTO. More...


Public Attributes

readonly attribute TimeBase::TimeT time
 Specifies the time represented by the UTO. More...

readonly attribute TimeBase::InaccuracyT inaccuracy
 Specifies the uncertainty associated with the time in the UTO, in 10E-7 seconds. More...

readonly attribute TimeBase::TdfT tdf
 Specifies the time zone in which the UTO was created, expressed in minutes from Greenwich. More...

readonly attribute TimeBase::UtcT utc_time
 Specifies the time, error and zone represented by this UTO in a single structure. More...


Detailed Description

An instance of the UTO interface represents an instant in time.


Member Function Documentation

UTO CosTime::UTO::absolute_time  
 

This operation calculates an absolute time taking the current UTO contents as a time relative to the current system time.

Returns:
time in object + system time.

TimeComparison CosTime::UTO::compare_time in ComparisonType    comparison_type,
in UTO    ut
 

Compares this UTO to another.

m comparison_type - Either IntervalC, in which case the comparison
will take into account the error envelope, or MidC, in which case it will not.
m uto - The object being compared to this one.
Returns:
TCLessThan if the time in this object is earlier than that in uto, TCGreaterThan if it is later, TCEqualTo if they are the same and TCIndeterminate if the error envelopes overlap and the comparison_type is IntervalC.

TIO CosTime::UTO::interval  
 

Generates an interval based on this UTO.

Returns:
A TIO with bounds set to the possible values of this UTO when the error is taken into account.

TIO CosTime::UTO::time_to_interval in UTO    ut
 

Generates the interval between this UTO and another.

m uto - specifies one bound of the interval. This object is the
other.
Returns:
A TIO with bounds set to the midpoints of the two UTOs.


Member Data Documentation

readonly attribute TimeBase::InaccuracyT CosTime::UTO::inaccuracy
 

Specifies the uncertainty associated with the time in the UTO, in 10E-7 seconds.

readonly attribute TimeBase::TdfT CosTime::UTO::tdf
 

Specifies the time zone in which the UTO was created, expressed in minutes from Greenwich.

Positive values represent zones East of the meridian.

readonly attribute TimeBase::TimeT CosTime::UTO::time
 

Specifies the time represented by the UTO.

It is expressed as a number of 10E-7 seconds since a defined point. For absolute time this is 15th October 1582 00:00:00 GMT.

readonly attribute TimeBase::UtcT CosTime::UTO::utc_time
 

Specifies the time, error and zone represented by this UTO in a single structure.