21 #ifndef INCLUDE_ELM_UTIL_TIME_H_
22 #define INCLUDE_ELM_UTIL_TIME_H_
24 #include <elm/types.h>
25 #include <elm/io/Output.h>
40 inline Time(
int t): _t(t) { }
t::int64 seconds() const
Definition: Time.h:48
t::int64 days() const
Definition: Time.h:51
static const t::int64 ONE_MS
Definition: Time.h:32
t::int64 years() const
Definition: Time.h:52
bool operator<=(const Time &t) const
Definition: Time.h:62
bool operator<(const Time &t) const
Definition: Time.h:61
t::int64 mins() const
Definition: Time.h:49
Time()
Definition: Time.h:39
Time operator*(int n) const
Definition: Time.h:56
bool operator>(const Time &t) const
Definition: Time.h:63
static const t::int64 ONE_D
Definition: Time.h:36
Time operator/(const Time &t) const
Definition: Time.h:57
static const t::int64 ONE_H
Definition: Time.h:35
Time operator+(const Time &t) const
Definition: Time.h:54
Time(const Time &t)
Definition: Time.h:43
static const t::int64 ONE_M
Definition: Time.h:34
Time(int t)
Definition: Time.h:40
bool operator>=(const Time &t) const
Definition: Time.h:64
Time(t::int64 t)
Definition: Time.h:41
bool operator!=(const Time &t) const
Definition: Time.h:60
t::int64 time() const
Definition: Time.h:45
static const t::int64 ONE_S
Definition: Time.h:33
bool operator==(const Time &t) const
Definition: Time.h:59
Time operator-(const Time &t) const
Definition: Time.h:55
static const t::int64 ONE_Y
Definition: Time.h:37
t::int64 hours() const
Definition: Time.h:50
t::int64 micros() const
Definition: Time.h:46
t::int64 millis() const
Definition: Time.h:47
Time(t::uint64 t)
Definition: Time.h:42
unsigned long uint64
Definition: arch.h:33
long int64
Definition: arch.h:32
typename type_info< T >::out_t out
Definition: type_info.h:284
AutoString & operator<<(CString str, const T &value)
Definition: AutoString.h:75