[#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 `<baltzo_testloader.h>` Set, to the specified `timeZone`, the time‐zone information that will be returned by `loadTimeZone` for the identifier `timeZone.identifier()`. [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..._]# Set the time‐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`. Return 0 on success, or a negative value if an error occurs. The behavior is undefined unless `timeZoneData` contains at least `timeZoneDataNumBytes` bytes. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#