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().

void
setTimeZone(Zoneinfo const& timeZone);

Set the time‐zone data this loader returns for timeZoneId.

int
setTimeZone(
    char const* timeZoneId,
    char const* timeZoneData,
    int timeZoneDataNumBytes);

Return Value

0 on success, or a negative value if an error occurs

Parameters

Name

Description

timeZone

time‐zone information associated with its identifier

timeZoneId

identifier of the time zone to configure

timeZoneData

buffer holding Zoneinfo standard binary data

timeZoneDataNumBytes

number of bytes in timeZoneData

Created with MrDocs