#include <OnixS/CME/ConflatedUDP/Time.h>
Public Types | |
typedef Int64 | Ticks |
typedef Int32 | Days |
typedef Int32 | Hours |
typedef Int32 | Minutes |
typedef Int32 | Seconds |
typedef Int32 | Milliseconds |
typedef Int32 | Microseconds |
typedef Int32 | Nanoseconds |
Public Member Functions | |
TimeSpan (Ticks ticks=0) | |
TimeSpan (Days days, Hours hours, Minutes minutes, Seconds seconds, Nanoseconds nanoseconds) | |
TimeSpan (Hours hours, Minutes minutes, Seconds seconds, Nanoseconds nanoseconds) | |
TimeSpan (const TimeSpan &other) | |
Days | days () const |
Hours | hours () const |
Int32 | minutes () const |
Int32 | seconds () const |
Milliseconds | milliseconds () const |
Microseconds | microseconds () const |
Nanoseconds | nanoseconds () const |
Ticks | ticks () const |
TimeSpan & | operator+= (const TimeSpan &other) |
TimeSpan & | operator-= (const TimeSpan &other) |
TimeSpan & | operator= (const TimeSpan &other) |
void | swap (TimeSpan &other) |
Represents time interval. Used primarily to present time-only stamps and to measure time intervals between two timestamps.
typedef Int32 Microseconds |
typedef Int32 Milliseconds |
typedef Int32 Nanoseconds |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |