[#BloombergLP-baltzo-DataFileLoader-loadTimeZoneFilePath-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/DataFileLoader.adoc[DataFileLoader]::loadTimeZoneFilePath
:relfileprefix: ../../../
:mrdocs:

Load the Zoneinfo file path for `timeZoneId` into `result`&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;datafileloader&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
loadTimeZoneFilePath(
    std::pmr::string* result,
    char const* timeZoneId) const;
----

== Description

Load into the specified `result` the file&hyphen;system path to the Zoneinfo binary data file corresponding to the specified `timeZoneId` relative to the configured `rootPath`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; On error, `result` is left in a valid, but unspecified state&period; The behavior is undefined unless either `configureRootPath` or `configureRootPathIfValid` has been called successfully&period; 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&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives the file&hyphen;system path to the Zoneinfo data file
| *timeZoneId*
| identifier of the time zone whose file path is loaded
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
