|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
Defined in header <chrono> | ||
struct tzdb; | (since C++20) | |
The classtzdb represents a copy of theIANA time zone database. Users cannot construct atzdb and can only obtain read-only access to one via the free functionsstd::chrono::get_tzdb_list andstd::chrono::get_tzdb.
| Member object | Description |
version | Astd::string that contains the version of the database |
zones | A sortedstd::vector<std::chrono::time_zone> containing description of time zones |
links | A sortedstd::vector<std::chrono::time_zone_link> containing description of alternative names of time zones (links) |
leap_seconds | A sortedstd::vector<std::chrono::leap_second> containing description of leap seconds |
| locate a time zone with the given name (public member function)[edit] | |
| return the local time zone (public member function)[edit] |