Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::chrono::locate_zone(3)   C++ Standard Libary  std::chrono::locate_zone(3)

NAME
       std::chrono::locate_zone	- std::chrono::locate_zone

Synopsis
	  Defined in header <chrono>
	  const	std::chrono::time_zone*	locate_zone(std::string_view tz_name);
       (since C++20)

	  Convenience function for locating a time zone	in the time zone data-
       base. Equivalent
	  to std::chrono::get_tzdb().locate_zone(tz_name).

Exceptions
	  std::runtime_error if	the specified time zone	cannot be found, or if
       this is the
	  first	reference to the time zone database and	the time zone database
       cannot be
	  initialized.

Notes
	  A call to this function that is the first reference to the time zone
       database	will
	  cause	it to be initialized.

See also
	  locate_zone	 locate	a time zone with the given name
			 (public member	function of std::chrono::tzdb)
	  get_tzdb
	  get_tzdb_list	  accesses  and	controls the global time zone database
       information
	  reload_tzdb	 (function)
	  remote_version
	  (C++20)

http://cppreference.com		  2022.07.31	   std::chrono::locate_zone(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::chrono::locate_zone&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help