std::chrono::tzdb_list
From cppreference.com
C++
Date and time library
| Time point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Duration | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Clocks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time of day | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Calendar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time zone | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
chrono I/O | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
(C++20) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C-style date and time | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::tzdb_list
Defined in header <chrono>
|
||
class tzdb_list; |
(since C++20) | |
tzdb_list is a singleton list of std::chrono::tzdbs, each of which represents a copy of the IANA time zone database. Users cannot construct a tzdb_list and can only obtain access to one via the std::chrono::get_tzdb_list
Member types
| Member type | Definition |
const_iterator
|
constant LegacyForwardIterator whose value type is std::chrono::tzdb |
Member functions
(constructor) (deleted) |
copy constructor is defined as deleted (public member function) |
operator= (deleted) |
copy assignment operator is defined as deleted (public member function) |
| access the first element (public member function) |
|
| erases an element after an element (public member function) |
|
| returns an iterator to the beginning of the list (public member function) |
|
| returns an iterator past the end of the list (public member function) |