28 struct ONIXS_SGXTITAN_OUCH_API
Month 90 unsigned int year,
Month::Enum month,
unsigned int day,
91 unsigned int hour = 0,
unsigned int minute = 0,
unsigned int second = 0,
92 unsigned int nanosecond = 0);
95 unsigned year()
const;
102 unsigned int day()
const;
109 unsigned int hour()
const;
113 unsigned int minute()
const;
117 unsigned int second()
const;
121 unsigned int millisecond()
const;
125 unsigned int microsecond()
const;
129 unsigned int nanosecond()
const;
151 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
159 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
180 TimestampFormat::YYYYMMDDHHMMSSNsec);
186 unsigned long long presentation,
190 Timestamp (
long long totalSeconds,
int subseconds);
197 Timestamp::Timestamp (
198 long long totalSeconds,
int subseconds)
199 : sinceEpoch_(totalSeconds, subseconds)
bool operator<(const StrRef &left, const StrRef &right)
Establishes order over string refs.
bool operator!=(const StrRef &left, const StrRef &right)
Compares with another instance.
std::string toString(TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
Defines all the months in the year.
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_END
#define ONIXS_SGXTITAN_OUCH_NAMESPACE_BEGIN
Represents timestamp without time-zone information.
bool operator==(const StrRef &left, const StrRef &right)
Compares StrRef instance with another one.
Enum
Defines all the months in the year.
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
const TimeSpan & sinceEpoch() const
Time span since Jan 1, 0001, 00:00:00.