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

`setTimeZone` overloads

== Synopses

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

Set, to the specified `timeZone`, the time&hyphen;zone information that will be returned by `loadTimeZone` for the identifier `timeZone&period;identifier()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/baltzo/TestLoader/setTimeZone-082.adoc[setTimeZone](xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const& timeZone);
----

[.small]#xref:BloombergLP/baltzo/TestLoader/setTimeZone-082.adoc[_» more&period;&period;&period;_]#

Set the time&hyphen;zone data this test loader will return for the specified `timeZoneId` to the Zoneinfo value defined by reading the specified `timeZoneData` buffer, holding data in the Zoneinfo standard binary file format, of at least the specified `timeZoneDataNumBytes`&period; Return 0 on success, or a negative value if an error occurs&period; The behavior is undefined unless `timeZoneData` contains at least `timeZoneDataNumBytes` bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/baltzo/TestLoader/setTimeZone-08c.adoc[setTimeZone](
    char const* timeZoneId,
    char const* timeZoneData,
    int timeZoneDataNumBytes);
----

[.small]#xref:BloombergLP/baltzo/TestLoader/setTimeZone-08c.adoc[_» more&period;&period;&period;_]#


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