#include <VP1TimeUtilities.h>
Definition at line 25 of file VP1TimeUtilities.h.
◆ VP1TimeUtilities()
VP1TimeUtilities::VP1TimeUtilities |
( |
| ) |
|
|
private |
◆ ~VP1TimeUtilities()
VP1TimeUtilities::~VP1TimeUtilities |
( |
| ) |
|
|
private |
◆ getHumanReadableTimestamp()
std::string VP1TimeUtilities::getHumanReadableTimestamp |
( |
time_t |
t_timestamp | ) |
|
|
static |
Definition at line 24 of file VP1TimeUtilities.cxx.
27 localtime_r(&t_timestamp, <m);
29 std::string humanTimestamp;
31 std::ostringstream ostri;
32 ostri << 1900 + ltm.tm_year
33 <<
"-" << 1 + ltm.tm_mon
35 <<
"T" << ltm.tm_hour <<
"-" << ltm.tm_min <<
"-" << ltm.tm_sec;
37 humanTimestamp = ostri.str();
39 return humanTimestamp;
The documentation for this class was generated from the following files: