10 #pragma prefix "omg.org"
13 * @brief COS Time Service basic types.
16 * The standard CORBA Time Service defines a number of data structures
17 * to manipulate and express time.
18 * Over time these data structures have found their way into core
19 * components of CORBA, such as CORBA Messaging, RT CORBA, etc.
23 /// Time in TimeT is expressed in units of 100 nano seconds
25 * In other words each TimeT is 10^-7 seconds.
26 * When used for absolute time 0 is to October 15, 1582. Please read
27 * the spec for further details.
29 typedef unsigned long long TimeT;
31 /// To express an error estimate for time.
32 typedef TimeT InaccuracyT;
34 /// Minutes of displacement from the Greenwich time.
38 * @brief A timestamp in UTC time
40 * The inaccuracy is packed into inacclo & inacchi.
41 * tdf holds the time displacement factor.
43 * There are a total of 16 octets in this struct.
45 * @todo What is exactly the range of time here?
46 * Is it [time-inacclo,time+inacchi]?
53 /// The lowest bound for inaccuracy
54 unsigned long inacclo;
56 /// The upper bound for the inaccuracy
57 unsigned short inacchi;
59 /// @todo please document
64 * @brief An UTC time interval
69 /// Lower bound of the interval.
72 /// Upper bound of the interval.
77 #endif /* TIME_BASE_PIDL */