24 Tm(
struct tm * initTm);
61 std::string
str()
const;
96 void setToString(
const std::string
s)
throw(std::runtime_error);
111 {
return (
m_tm.tm_hour == t.
m_tm.tm_hour &&
static const uint64_t NEG_INF_MICROS
void setToCurrentLocalTime()
Tm & operator-=(int seconds)
friend std::ostream & operator<<(std::ostream &out, const Tm &t)
void setToCurrentGMTime()
uint64_t microsTime() const
void setToMicrosTime(uint64_t micros)
void setToCmsNanoTime(uint64_t nanos)
uint64_t unixTime() const
void setToString(const std::string s)
bool operator!=(const Tm &t) const
Tm & operator+=(int seconds)
bool operator<(const Tm &t) const
void setToGMTime(time_t t)
uint64_t cmsNanoSeconds() const
bool operator==(const Tm &t) const
unsigned long long uint64_t
void setToLocalTime(time_t t)
const Tm operator+(int seconds)
static const uint64_t PLUS_INF_MICROS
bool operator<=(const Tm &t) const