![]() |
PhoenixClock
0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
|
Go to the source code of this file.
Functions | |
std::string | phoenix_dateCompactNs (std::time_t currentDateNs) |
Convert a given date in nanosecond into a text date in a more compact way. | |
std::string | phoenix_dateNs (std::time_t currentDateNs) |
Convert a given date in nanosecond into a text date. | |
std::string | phoenix_dateNs (std::time_t currentDateNs, const char *format) |
Convert a given date in nanosecond into a text date. | |
std::string phoenix_dateCompactNs | ( | std::time_t | currentDateNs | ) |
Convert a given date in nanosecond into a text date in a more compact way.
currentDateNs | : date in nanosecond to be converted |
Definition at line 38 of file PClockNs.cpp.
References phoenix_dateNs().
Referenced by PClockNs::getDateCompactNs().
std::string phoenix_dateNs | ( | std::time_t | currentDateNs | ) |
Convert a given date in nanosecond into a text date.
currentDateNs | : date in nanosecond to be converted |
Definition at line 30 of file PClockNs.cpp.
References phoenix_dateNs().
std::string phoenix_dateNs | ( | std::time_t | currentDateNs, |
const char * | format ) |
Convert a given date in nanosecond into a text date.
currentDateNs | : date in nanosecond to be converted |
format | : format to print the date (refer to std::strftime for the detail) |
Definition at line 15 of file PClockNs.cpp.
Referenced by PClockNs::getDateNs(), phoenix_dateCompactNs(), and phoenix_dateNs().