|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
utc_clock::to_sys | ||||
| Time point I/O | ||||
| Leap second insertion information | ||||
template<class Duration> staticstd::chrono::sys_time<std::common_type_t<Duration,std::chrono::seconds>> | (since C++20) | |
Converts autc_timet to asys_time representing the same point in time (if possible).
Ift represents a time point during a leap second insertion, the last representable value ofsys_time prior to the insertion of the leap second is returned. In all other cases,utc_clock::from_sys(utc_clock::to_sys(t))== t.
Asys_time representing the same point in time ast, or the last representable value prior to the insertion of the leap second ift represents a time point during a leap second insertion.
[static] | convertssys_time toutc_time(public static member function)[edit] |
(C++20) | convert time points of one clock to another (function template)[edit] |