|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
(optional*) | ||||
file_clock::to_utcfile_clock::from_utc (optional*) | ||||
| Time point I/O | ||||
template<class Duration> staticstd::chrono::utc_time</* see below */> | (1) | (since C++20) (optional*) |
template<class Duration> staticstd::chrono::file_time</* see below */> | (2) | (since C++20) (optional*) |
file_timet to autc_time representing the same point in time.utc_timet to afile_time representing the same point in time.The duration of the return type is computed fromDuration in an unspecified manner.
These function templates are optional: an implementation may choose to instead provideto_sys() andfrom_sys().
Contents |
utc_time representing the same point in time as the argument.file_time representing the same point in time as the argument.User code should usually usestd::chrono::clock_cast, which provides a generic interface to convert time points between clocks, rather than call these functions directly.
| This section is incomplete Reason: no example |
[static](optional) | converts betweenfile_time andsys_time(public static member function)[edit] |
(C++20) | convert time points of one clock to another (function template)[edit] |