[#BloombergLP-baltzo-TestLoader-loadTimeZone]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TestLoader.adoc[TestLoader]::loadTimeZone
:relfileprefix: ../../../
:mrdocs:

Load time zone information for the specified `timeZoneId`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
int
loadTimeZone(
    xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo]* result,
    char const* timeZoneId) override;
----

== Description

Load into the specified `result` the time&hyphen;zone information for the time&hyphen;zone identified by the specified `timeZoneId`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; A return status of `ErrorCode&colon;&colon;k&lowbar;UNSUPPORTED&lowbar;ID` indicates that `timeZoneId` is not recognized&period; If an error occurs during the operation, `result` will be left in a valid but unspecified state&period;


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