Public Types | |
typedef UInt64 | Ticks |
typedef UInt32 | Year |
typedef OnixS::B3::BOE::Messaging::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 | |
std::string | toString (TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec) const |
Timestamp (Ticks ticks=0) noexcept | |
Timestamp (Year year, Month month, Day day, Hour hour=0, Minute minute=0, Second second=0, Nanosecond nanosecond=0) | |
Timestamp (const Timestamp &other) noexcept | |
Year | year () const |
Month | month () const |
Day | day () const |
Hour | hour () const noexcept |
Minute | minute () const noexcept |
Second | second () const noexcept |
Millisecond | millisecond () const noexcept |
Microsecond | microsecond () const noexcept |
Nanosecond | nanosecond () const noexcept |
Timestamp | date () const noexcept |
TimeSpan | time () const noexcept |
Ticks | sinceEpoch () const noexcept |
Timestamp & | operator= (const Timestamp &other) noexcept |
void | swap (Timestamp &other) noexcept |
Static Public Member Functions | |
static Timestamp | fromStr (const std::string &, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSnsec) |
typedef UInt32 Day |
typedef UInt32 Hour |
typedef UInt32 Microsecond |
typedef UInt32 Millisecond |
typedef UInt32 Minute |
typedef UInt32 Nanosecond |
typedef UInt32 Second |
typedef UInt32 Year |
|
inlinenoexcept |
|
inlinestatic |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |