BloombergLP::baltzo::TestLoader::setTimeZone

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);
» more...

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

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

Return Value

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

Parameters

NameDescription
timeZonetime-zone information associated with its identifier
timeZoneIdidentifier of the time zone to configure
timeZoneDatabuffer holding Zoneinfo standard binary data
timeZoneDataNumBytesnumber of bytes in timeZoneData