#include <Times.h>
|
static const std::string | _unit = "seconds" |
|
static const std::string | _origin = "1970-01-01 00:00:00" |
|
◆ Time() [1/5]
◆ Time() [2/5]
Time::Time |
( |
std::size_t |
| ) |
|
◆ Time() [3/5]
Time::Time |
( |
const std::string & |
str, |
|
|
bool |
iso_string = false |
|
) |
| |
◆ Time() [4/5]
Time::Time |
( |
const std::string & |
str, |
|
|
const std::string & |
origin, |
|
|
bool |
iso_string = false |
|
) |
| |
◆ Time() [5/5]
Time::Time |
( |
const Time & |
rhs | ) |
|
◆ ~Time()
◆ operator+()
Time Time::operator+ |
( |
const Time & |
rhs | ) |
const |
◆ operator<()
bool Time::operator< |
( |
const Time & |
rhs | ) |
const |
◆ operator<=()
bool Time::operator<= |
( |
const Time & |
rhs | ) |
const |
◆ operator=() [1/2]
Time & Time::operator= |
( |
const Time & |
rhs | ) |
|
◆ operator=() [2/2]
Time & Time::operator= |
( |
std::size_t |
rhs | ) |
|
◆ operator==()
bool Time::operator== |
( |
const Time & |
rhs | ) |
const |
◆ operator>()
bool Time::operator> |
( |
const Time & |
rhs | ) |
const |
◆ operator>=()
bool Time::operator>= |
( |
const Time & |
rhs | ) |
const |
◆ print()
void Time::print |
( |
std::ostream & |
os | ) |
const |
◆ toString()
string Time::toString |
( |
| ) |
const |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
Time const & |
obj |
|
) |
| |
|
friend |
◆ _origin
const string Time::_origin = "1970-01-01 00:00:00" |
|
static |
Origin of all times. This can be changed only during compile-time.
◆ _unit
const string Time::_unit = "seconds" |
|
static |
For now, Time only supports seconds. Support for other units will be future features.
◆ timestamp
std::size_t Time::timestamp |
The documentation for this class was generated from the following files:
- /Users/weiming/github/AnalogsEnsemble/CAnEn/include/Times.h
- /Users/weiming/github/AnalogsEnsemble/CAnEn/src/Times.cpp