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

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;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
setTimeZone(
    char const* timeZoneId,
    char const* timeZoneData,
    int timeZoneDataNumBytes);
----


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