Set the time-zone data this loader returns for timeZoneId.
Declared in <baltzo_testloader.h>
int
setTimeZone(
char const* timeZoneId,
char const* timeZoneData,
int timeZoneDataNumBytes);
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.
0 on success, or a negative value if an error occurs
| Name | Description |
|---|---|
| timeZoneId | identifier of the time zone to configure |
| timeZoneData | buffer holding Zoneinfo standard binary data |
| timeZoneDataNumBytes | number of bytes in timeZoneData |