Namespace containing time datatypes and time operations. More...
Typedefs | |
typedef std::chrono::system_clock::time_point | point |
Representation of a point in time. | |
typedef std::chrono::system_clock::duration | duration |
Representation of a time duration. | |
Functions | |
point | now () |
Get the current time point. | |
duration | seconds (double sec) |
Return the time duration representing a given number of seconds. | |
double | seconds (const duration &d) |
Return the number of seconds that a time duration represents. | |
std::string | as_string (const point &p) |
Return string representation of point in time. | |
Detailed Description
Namespace containing time datatypes and time operations.