Public Types | |
typedef UInt64 | Ticks |
typedef UInt32 | Year |
typedef OnixS::CboeCFE::Trading::BOE::Month::Enum | Month |
typedef UInt32 | Day |
typedef UInt32 | Hour |
typedef UInt32 | Minute |
typedef UInt32 | Second |
typedef UInt32 | Millisecond |
typedef UInt32 | Microsecond |
typedef UInt32 | Nanosecond |
Public Member Functions | |
Timestamp (Ticks ticks=0) ONIXS_BATS_BOE_NOTHROW | |
Timestamp (Year year, Month month, Day day, Hour hour=0, Minute minute=0, Second second=0, Nanosecond nanosecond=0) | |
Timestamp (const Timestamp &other) | |
Year | year () const |
Month | month () const |
Day | day () const |
Hour | hour () const |
Minute | minute () const |
Second | second () const |
Millisecond | millisecond () const |
Microsecond | microsecond () const |
Nanosecond | nanosecond () const |
Timestamp | date () const |
TimeSpan | time () const |
Ticks | sinceEpoch () const ONIXS_BATS_BOE_NOTHROW |
Timestamp & | operator= (const Timestamp &other) |
void | swap (Timestamp &other) |
Static Public Member Functions | |
static ONIXS_CBOE_CFE_BOE_API Timestamp | utcNow () |
static ONIXS_CBOE_CFE_BOE_API Timestamp | now () |
typedef UInt32 Microsecond |
typedef UInt32 Millisecond |
typedef UInt32 Minute |
typedef UInt32 Nanosecond |
typedef UInt32 Second |
|
inline |
|
inline |
|
inline |
Microsecond component of given time point.
|
inline |
Millisecond component of given time point.
|
inline |
|
inline |
|
inline |
Nanosecond component of given time point.
|
static |
Returns current local time.
|
inline |
|
inline |
|
inline |
|
static |
Returns current UTC time.