#include <OnixS/EuroTLX/MarketData/GTP/Timestamp.h>
Definition at line 91 of file Timestamp.h.
Initializes as Jan 1, 0001, 00:00:00.
Timestamp |
( |
unsigned int |
year, |
|
|
Month::Enum |
month, |
|
|
unsigned int |
day, |
|
|
unsigned int |
hour = 0 , |
|
|
unsigned int |
minute = 0 , |
|
|
unsigned int |
second = 0 , |
|
|
unsigned int |
nanosecond = 0 |
|
) |
| |
Initializes date-time from all details.
Returns date part of timestamp.
unsigned int day |
( |
| ) |
const |
day of month component of timestamp Valid values are 1 through 31.
unsigned int hour |
( |
| ) |
const |
Hour component of timestamp. Valid values are 0 through 23.
unsigned int microsecond |
( |
| ) |
const |
|
inline |
Microsecond component of timestamp Valid values are 0 through 999999.
Definition at line 222 of file Timestamp.h.
unsigned int millisecond |
( |
| ) |
const |
|
inline |
Millisecond component of timestamp Valid values are 0 through 999.
Definition at line 215 of file Timestamp.h.
unsigned int minute |
( |
| ) |
const |
Minute component of timestamp Valid values are 0 through 59.
Month component of timestamp.
unsigned int nanosecond |
( |
| ) |
const |
|
inline |
Nanosecond component of timestamp Valid values are 0 through 999999999.
Definition at line 229 of file Timestamp.h.
Returns the current local time.
- Note
- Timestamp resolution depends on capabilities of an operating system.
Compares instance with another one.
Tests whether instance is less than another one.
Compares instance with another one.
Parses timestamp from its text presentation assuming it's in specified format ("YYYYMMDD-HH:MM:SS.sssssssss" by default).
Parses timestamp from its numeric presentation.
unsigned int second |
( |
| ) |
const |
Second component of timestamp Valid values are 0 through 59.
Time span since Jan 1, 0001, 00:00:00.
Definition at line 236 of file Timestamp.h.
Returns timestamp text presentation in requested format ("YYYYMMDD-HH:MM:SS.sssssssss" by default).
Definition at line 243 of file Timestamp.h.
Appends timestamp text presentation in requested format ("YYYYMMDD-HH:MM:SS.sssssssss" by default).
Returns the current UTC time.
- Note
- Timestamp resolution depends on capabilities of an operating system.
Year component of timestamp.
friend struct HandlerCore::Common::TimeHelper |
|
friend |
The documentation for this class was generated from the following file: