#include <OnixS/CME/DropCopy/Time.h>
Definition at line 437 of file Time.h.
◆ Timestamp() [1/4]
Initializes as Jan 1, 1970, 00:00:00.
◆ Timestamp() [2/4]
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.
◆ Timestamp() [3/4]
Explicit timestamp initialization.
Input parameters are validated, therefore constructor throws exception if input values do not fit into their valid ranges.
◆ Timestamp() [4/4]
Initializes as copy of other instance.
◆ date()
Returns timestamp without time part.
◆ day()
Day component of timestamp.
◆ dayOfWeek()
◆ deserialize()
De-serializes timestamp from text presentation.
◆ fromUnixTimestamp()
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()
Hour component of timestamp.
◆ maxTimestamp()
Returns the maximal possible timestamp (year 2554)
◆ microsecond()
Microsecond component of timestamp.
◆ millisecond()
Millisecond component of timestamp.
◆ minute()
Minute component of timestamp.
◆ month()
Month component of timestamp.
◆ nanosecond()
Nanosecond component of timestamp.
◆ now() [1/2]
Return timestamp that is current date and time expressed as local time.
◆ now() [2/2]
Return timestamp that is current date and time expressed as local time.
◆ operator!=()
| bool operator!= |
( |
const Timestamp & | other | ) |
const |
Compares with other instance for inequality.
◆ operator+=()
Adds time interval to given timestamp.
◆ operator-=()
Subtracts time interval from given timestamp.
◆ operator<()
| bool operator< |
( |
const Timestamp & | other | ) |
const |
Checks whether timestamp is less than other one.
◆ operator=()
Re-initializes as copy of other timestamp.
◆ operator==()
| bool operator== |
( |
const Timestamp & | other | ) |
const |
Compares with other instance for equality.
◆ operator>()
| bool operator> |
( |
const Timestamp & | other | ) |
const |
Checks whether timestamp is greater than other one.
◆ second()
Second component of timestamp.
◆ time()
Return time part of timestamp.
◆ toString() [1/2]
Returns text presentation of timestamp using specified presentation format.
◆ toString() [2/2]
Returns text presentation of timestamp using specified presentation format.
Definition at line 579 of file Time.h.
◆ toUnixTimestamp()
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.
◆ utcNow() [1/2]
Return timestamp that is current date and time expressed as UTC time.
◆ utcNow() [2/2]
Return timestamp that is current date and time expressed as UTC time.
◆ year()
Year component of timestamp.
◆ operator-
Calculates time interval between two timestamps.