26 namespace OnixS {
namespace HandlerCore {
namespace Common {
struct TimeHelper; }}}
31 struct ONIXS_ESPEED_ITCH_API
Month 97 unsigned int year,
Month::Enum month,
unsigned int day,
98 unsigned int hour = 0,
unsigned int minute = 0,
unsigned int second = 0,
99 unsigned int nanosecond = 0);
108 unsigned year()
const;
115 unsigned int day()
const;
122 unsigned int hour()
const;
126 unsigned int minute()
const;
130 unsigned int second()
const;
134 unsigned int millisecond()
const;
138 unsigned int microsecond()
const;
142 unsigned int nanosecond()
const;
199 unsigned long long presentation,
203 Timestamp (
long long totalSeconds,
int subseconds);
205 friend struct HandlerCore::Common::TimeHelper;
211 long long totalSeconds,
int subseconds)
212 : sinceEpoch_ (totalSeconds, subseconds)
unsigned int millisecond() const
Defines all the months in the year.
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
bool operator<(const StrRef &left, const StrRef &right)
Establishes order over string refs.
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
std::string toString(TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
unsigned int nanosecond() const
Timestamp()
Initializes as Jan 1, 0001, 00:00:00.
const TimeSpan & sinceEpoch() const
Time span since Jan 1, 0001, 00:00:00.
unsigned int microsecond() const
bool operator==(const StrRef &left, const StrRef &right)
Compares StrRef instance with another one.
Enum
Defines all the months in the year.
Represents timestamp without time-zone information.