|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Nonmember functions | ||||
Defined in header <chrono> | ||
class time_zone; | (since C++20) | |
The classtime_zone represents all time zone transitions for a specific geographic area.
Users cannot constructtime_zone objects. The library implementation createstime_zone objects when it initializes thetime zone database and providesconst access to these objects.
time_zone is not copyable but does have a defaulted move constructor and a defaulted move assignment operator. However, as users have onlyconst access totime_zone objects, these functions cannot be called in user code without invokingundefined behavior.
obtains the name of thistime_zone(public member function)[edit] | |
| obtain information associated with asys_time orlocal_time (public member function)[edit] | |
| converts alocal_time in this time zone to asys_time (public member function)[edit] | |
| converts asys_time to alocal_time in this time zone (public member function)[edit] |
(C++20) | compares twotime_zone objects(function)[edit] |
| This section is incomplete Reason: no example |