28 namespace HandlerCore {
namespace Common {
struct TimeHelper; }}
37 struct ONIXS_EUROTLX_GTP_API
Month 99 unsigned int year,
Month::Enum month,
unsigned int day,
100 unsigned int hour = 0,
unsigned int minute = 0,
unsigned int second = 0,
101 unsigned int nanosecond = 0);
104 unsigned year()
const;
111 unsigned int day()
const;
118 unsigned int hour()
const;
122 unsigned int minute()
const;
126 unsigned int second()
const;
130 unsigned int millisecond()
const;
134 unsigned int microsecond()
const;
138 unsigned int nanosecond()
const;
160 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
168 TimestampFormat::YYYYMMDDHHMMSSNsec)
const;
189 TimestampFormat::YYYYMMDDHHMMSSNsec);
195 unsigned long long presentation,
199 Timestamp (
long long totalSeconds,
int subseconds);
201 friend struct HandlerCore::Common::TimeHelper;
206 Timestamp::Timestamp (
207 long long totalSeconds,
int subseconds)
208 : sinceEpoch_ (totalSeconds, subseconds)
Represents timestamp without time-zone information.
unsigned int microsecond() const
bool operator==(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
unsigned int millisecond() const
Enum
Defines all the months in the year.
bool operator!=(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
TimeSpan operator-(const Timestamp &left, const Timestamp &right)
unsigned int nanosecond() const
const TimeSpan & sinceEpoch() const
Time span since Jan 1, 0001, 00:00:00.
std::string toString(TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const
bool operator<(const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
Compares two fixed-point decimals.
Defines all the months in the year.