Namespace to hold useful time-converting functions. More...
Functions | |
std::string | convertUnixTimeToString (time_t inputUnixTime) |
Converts a Unix time to its string representation, in UTC. | |
std::string | convertUnixTimeToString (struct timeval const &inputUnixTime) |
Converts a Unix time to its string representation, in UTC. | |
std::string | convertUnixTimeToString (struct timespec const &inputUnixTime) |
Converts a Unix time to its string representation, in UTC. |
Namespace to hold useful time-converting functions.
std::string artdaq::TimeUtils::convertUnixTimeToString | ( | struct timespec const & | inputUnixTime | ) |
Converts a Unix time to its string representation, in UTC.
inputUnixTime | A struct timespec Unix time variable |
Definition at line 35 of file TimeUtils.cc.
std::string artdaq::TimeUtils::convertUnixTimeToString | ( | struct timeval const & | inputUnixTime | ) |
Converts a Unix time to its string representation, in UTC.
inputUnixTime | A struct timeval Unix time variable |
Definition at line 18 of file TimeUtils.cc.
std::string artdaq::TimeUtils::convertUnixTimeToString | ( | time_t | inputUnixTime | ) |
Converts a Unix time to its string representation, in UTC.
inputUnixTime | A time_t Unix time variable |
Definition at line 7 of file TimeUtils.cc.