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