Loads the named zone. May perform I/O on the initial load of the named zone. If the name is invalid, or some other kind of error occurs, returns false and *tz is set to the UTC time zone.
Synopsis
Declared in <absl/time/time.h>
bool
LoadTimeZone(
std::string_view name,
TimeZone* tz);
Return Value
true if the zone was loaded successfully.
Parameters
Name |
Description |
name |
The TZ identifier of the zone to load. |
tz |
Output parameter receiving the loaded time zone. |
Created with MrDocs