![]() |
PhoenixClockMock
2.0.0
Tool to manipulate mock of clock (split, merge and get info)
|
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. More... | |
std::string | phoenix_dateNs (std::time_t currentDateNs) |
Convert a given date in nanosecond into a text date. More... | |
std::string | phoenix_dateNs (std::time_t currentDateNs, const char *format) |
Convert a given date in nanosecond into a text date. More... | |
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(), phoenix_dateNs(), and testPClockNsCoherence().