Class Time

Class Documentation

class Time

Public Functions

Time()
Time(timeval time)
~Time()
void set(double time)
void set(timeval time)
void set(UINT64 ntpSeconds, UINT32 ntpFractionalSeconds)
void set(UINT64 ntpTime)
double seconds()
UINT32 total_milliseconds()
Time operator+(const TimeDuration &dur) const
Time &operator+=(const Time &other)
Time operator+(const Time &other) const
Time operator-(const Time &other) const
Time operator-(const double &seconds) const
bool operator>=(const Time &other) const
bool operator<(const Time &other) const
bool operator==(const Time &other) const
std::string toString() const
std::string toLongString() const

Public Static Functions

static Time now()

Public Static Attributes

static const UINT64 secondsFrom1900to1970