std::chrono::get_tzdb_list, std::chrono::get_tzdb, std::chrono::remote_version, std::chrono::reload_tzdb
std::chrono::tzdb_list& get_tzdb_list(); |
(1) | (since C++20) |
const std::chrono::tzdb& get_tzdb(); |
(2) | (since C++20) |
std::string remote_version(); |
(3) | (since C++20) |
const std::chrono::tzdb& reload_tzdb(); |
(4) | (since C++20) |
These functions provide access to the program-wide time zone database.
tzdb_list
singleton. Equivalent to std::chrono::get_tzdb_list().front().tzdb
object representing the remote database to the front of the tzdb_list
singleton referenced by get_tzdb_list()
. Otherwise there are no effects. No references, pointers or iterators are invalidated. Calling this function concurrently with get_tzdb_list().front() or get_tzdb_list().erase_after() does not introduce a data race.[edit] Exceptions
tzdb_list
containing one or more valid tzdb
cannot be returned.