25 namespace OnixS {
namespace HandlerCore {
namespace Common {
struct TimeHelper; }}}
27 ONIXS_SGXTITAN_ITCH_NAMESPACE_BEGIN
30 struct ONIXS_SGXTITAN_ITCH_API
Month 92 unsigned int year,
Month::Enum month,
unsigned int day,
93 unsigned int hour = 0,
unsigned int minute = 0,
unsigned int second = 0,
94 unsigned int nanosecond = 0);
97 unsigned year()
const;
104 unsigned int day()
const;
111 unsigned int hour()
const;
115 unsigned int minute()
const;
119 unsigned int second()
const;
123 unsigned int millisecond()
const;
127 unsigned int microsecond()
const;
131 unsigned int nanosecond()
const;
153 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
161 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
182 TimestampFormat::YYYYMMDDHHMMSSNsec);
188 unsigned long long presentation,
192 Timestamp (
long long totalSeconds,
int subseconds);
194 friend struct HandlerCore::Common::TimeHelper;
199 Timestamp::Timestamp (
200 long long totalSeconds,
int subseconds)
201 : sinceEpoch_ (totalSeconds, subseconds)
256 ONIXS_SGXTITAN_ITCH_NAMESPACE_END
Represents timestamp without time-zone information.
unsigned int nanosecond() const
unsigned int microsecond() const
std::string toString(TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
unsigned int millisecond() const
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
Enum
Defines all the months in the year.
const TimeSpan & sinceEpoch() const
Time span since Jan 1, 0001, 00:00:00.
bool operator!=(const Price &left, const Price &right)
bool operator<(const Price &left, const Price &right)
Defines all the months in the year.
bool operator==(const Price &left, const Price &right)