BloombergLP::baltzo::ZoneinfoCache::getZoneinfo

Return the address of the Zoneinfo for timeZoneId, or 0 on failure.

Synopsis

Declared in <baltzo_zoneinfocache.h>

Zoneinfo const*
getZoneinfo(
    int* rc,
    char const* timeZoneId);

Description

Return the address of the non-modifiable Zoneinfo object describing the time zone identified by the specified timeZoneId, or 0 if the operation does not succeed. Optionally load the return code for this operation into the specified rc.

Return Value

address of the Zoneinfo for timeZoneId, or 0 on failure

Parameters

NameDescription
rcreceives the return code for this operation
timeZoneIdtime zone identifier