35 struct ONIXS_TRADEWEB_APA_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);
102 unsigned year()
const;
109 unsigned int day()
const;
116 unsigned int hour()
const;
120 unsigned int minute()
const;
124 unsigned int second()
const;
128 unsigned int millisecond()
const;
132 unsigned int microsecond()
const;
136 unsigned int nanosecond()
const;
193 unsigned long long presentation,
197 Timestamp (
long long totalSeconds,
int subseconds);
199 friend class TimeManager;
205 long long totalSeconds,
int subseconds)
206 : sinceEpoch_ (totalSeconds, subseconds)
Represents timestamp without time-zone information.
bool operator==(const StrRef &left, const StrRef &right)
Compares StrRef instance with another one.
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
std::string toString(TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
const TimeSpan & sinceEpoch() const
Time span since Jan 1, 0001, 00:00:00.
Timestamp()
Initializes as Jan 1, 0001, 00:00:00.
Enum
Defines all the months in the year.
unsigned int nanosecond() const
ONIXS_TRADEWEB_APA_API bool operator<(const Decimal &l, const Decimal &r)
unsigned int millisecond() const
Defines all the months in the year.
unsigned int microsecond() const