Functions | |
time_t | timegm (struct tm *timeptr) |
Convert broken time to UTC time (in UTC timezone). |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
time_t PSTime::TimeUtils::timegm | ( | struct tm * | timeptr | ) |
Convert broken time to UTC time (in UTC timezone).
Unlike mktime this method does not normalize any members of struct tm. The members tm_isdst, tm_wday, and tm_yday are entirely ignored. No leap seconds accounted.
Definition at line 85 of file TimeUtils.cpp.
Referenced by PSTime::TimeFormat::parseTime(), printTimeDiff(), and PSTime::Time::Time().