std::chrono::tzdb (3) - Linux Manuals
std::chrono::tzdb: std::chrono::tzdb
NAME
std::chrono::tzdb - std::chrono::tzdb
Synopsis
Defined in header <chrono>
struct tzdb; (since C++20)
The class tzdb represents a copy of the IANA_time_zone_database. Users cannot construct a tzdb and can only obtain read-only access to one via the free functions std::chrono::get_tzdb_list and std::chrono::get_tzdb.
Member objects
Member object Description
version A std::string that contains the version of the database
zones A sorted std::vector<std::chrono::time_zone> containing description of time zones
links A sorted std::vector<std::chrono::link> containing description of alternative names of time zones (links)
leaps A sorted std::vector<std::chrono::leaps> containing description of leap seconds
Member functions
locate_zone (public member function)
current_zone (public member function)