#include <OnixS/CME/DropCopy/Time.h>
Definition at line 437 of file Time.h.
Initializes as Jan 1, 1970, 00:00:00.
Initializes as date with zero time component.
Input parameters are validated, therefore constructor throws exception if input values do not fit into their valid ranges.
Explicit timestamp initialization.
Input parameters are validated, therefore constructor throws exception if input values do not fit into their valid ranges.
Initializes as copy of other instance.
Returns timestamp without time part.
Day component of timestamp.
De-serializes timestamp from text presentation.
Converts timestamp from its numeric presentation (Unix timestamp in nanoseconds or days since 01-01-1970 UTC) as it's used by the CME Globex.
Hour component of timestamp.
Returns the maximal possible timestamp (year 2554)
Microsecond component of timestamp.
Millisecond component of timestamp.
Minute component of timestamp.
Month component of timestamp.
Nanosecond component of timestamp.
Return timestamp that is current date and time expressed as local time.
Return timestamp that is current date and time expressed as local time.
bool operator!= |
( |
const Timestamp & |
other | ) |
const |
Compares with other instance for inequality.
Adds time interval to given timestamp.
Subtracts time interval from given timestamp.
bool operator< |
( |
const Timestamp & |
other | ) |
const |
Checks whether timestamp is less than other one.
Re-initializes as copy of other timestamp.
bool operator== |
( |
const Timestamp & |
other | ) |
const |
Compares with other instance for equality.
bool operator> |
( |
const Timestamp & |
other | ) |
const |
Checks whether timestamp is greater than other one.
Second component of timestamp.
Return time part of timestamp.
Returns text presentation of timestamp using specified presentation format.
Definition at line 579 of file Time.h.
Returns text presentation of timestamp using specified presentation format.
Converts timestamp into its numeric presentation (Unix timestamp in nanoseconds or days since 01-01-1970 UTC) as it's used by the CME Globex.
Return timestamp that is current date and time expressed as UTC time.
Return timestamp that is current date and time expressed as UTC time.
Year component of timestamp.
Calculates time interval between two timestamps.
The documentation for this class was generated from the following file:
- include/OnixS/CME/DropCopy/Time.h