Load the Zoneinfo file path for timeZoneId into result.
Synopsis
Declared in <baltzo_datafileloader.h>
int
loadTimeZoneFilePath(
std::string* result,
char const* timeZoneId) const;
Description
Load into the specified result the file‐system path to the Zoneinfo binary data file corresponding to the specified timeZoneId relative to the configured rootPath. Return 0 on success, and a non‐zero value otherwise. On error, result is left in a valid, but unspecified state. The behavior is undefined unless either configureRootPath or configureRootPathIfValid has been called successfully. Note that this operation does not verify result refers to a valid file on the file system, or whether the file (if it exists) contains valid Zoneinfo data.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
result |
receives the file‐system path to the Zoneinfo data file |
timeZoneId |
identifier of the time zone whose file path is loaded |
Created with MrDocs