std::chrono::tzdb
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Date and time library
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++20)
(C++11)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
tzdb
(C++20)
(C++20)
(C++20)(C++20)(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
std::chrono::tzdb
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.
[edit] 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::time_zone_link > containing description of alternative names of time zones (links)
leap_seconds
A sorted std::vector <std::chrono::leap_second > containing description of leap seconds