std::chrono::tzdb::locate_zone (3) - Linux Manuals
std::chrono::tzdb::locate_zone: std::chrono::tzdb::locate_zone
Command to display std::chrono::tzdb::locate_zone
manual in Linux: $ man 3 std::chrono::tzdb::locate_zone
NAME
std::chrono::tzdb::locate_zone - std::chrono::tzdb::locate_zone
Synopsis
const std::chrono::time_zone* locate_zone(std::string_view tz_name) const; (since C++20)
Obtains a pointer to a std::chrono::time_zone in this database that represents the time zone designated by tz_name. If p is the returned pointer, then either p->name() == tz_name or that there is a std::chrono::link l in this database such that p->name() == l.target() and l.name() == tz_name.
Return value
A pointer to the std::chrono::time_zone in this database that represents the time zone designated by tz_name.
Exceptions
Throws std::runtime_error if no such time_zone can be found.
Pages related to std::chrono::tzdb::locate_zone
- std::chrono::tzdb::current_zone (3) - std::chrono::tzdb::current_zone
- std::chrono::tzdb (3) - std::chrono::tzdb
- std::chrono::tzdb_list (3) - std::chrono::tzdb_list
- std::chrono::tzdb_list::begin (3) - std::chrono::tzdb_list::begin
- std::chrono::tzdb_list::end,std::chrono::tzdb_list::cend (3) - std::chrono::tzdb_list::end,std::chrono::tzdb_list::cend
- std::chrono::tzdb_list::erase_after (3) - std::chrono::tzdb_list::erase_after
- std::chrono::tzdb_list::front (3) - std::chrono::tzdb_list::front
- std::chrono::tai_clock (3) - std::chrono::tai_clock
- std::chrono::tai_clock::from_utc (3) - std::chrono::tai_clock::from_utc
- std::chrono::tai_clock::now (3) - std::chrono::tai_clock::now
- std::chrono::tai_clock::to_utc (3) - std::chrono::tai_clock::to_utc
- std::chrono::time_of_day (3) - std::chrono::time_of_day
- std::chrono::time_of_day<Duration>::hours,std::chrono::time_of_day<Duration>::minutes, (3) - std::chrono::time_of_day<Duration>::hours,std::chrono::time_of_day<Duration>::minutes,
- std::chrono::time_of_day<Duration>::make12,std::chrono::time_of_day<Duration>::make24 (3) - std::chrono::time_of_day<Duration>::make12,std::chrono::time_of_day<Duration>::make24
- std::chrono::time_of_day<Duration>::operatorprecision, (3) - std::chrono::time_of_day<Duration>::operatorprecision,
- std::chrono::time_of_day<Duration>::operatorprecision,std::chrono::time_of_day<Duration>::to_duration (3) - std::chrono::time_of_day<Duration>::operatorprecision,std::chrono::time_of_day<Duration>::to_duration
- std::chrono::time_of_day<Duration>::time_of_day (3) - std::chrono::time_of_day<Duration>::time_of_day
- std::chrono::time_point (3) - std::chrono::time_point