Load the Zoneinfo file path for timeZoneId into result.
Declared in <baltzo_datafileloader.h>
int
loadTimeZoneFilePath(
bsl::string* result,
char const* timeZoneId) const;
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.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | receives the file-system path to the Zoneinfo data file |
| timeZoneId | identifier of the time zone whose file path is loaded |