BloombergLP::baltzo::WindowsTimeZoneUtil::getZoneinfoId

Load the default Zoneinfo identifier for windowsTimeZoneId.

Synopsis

Declared in <baltzo_windowstimezoneutil.h>

static
int
getZoneinfoId(
    char const** result,
    char const* windowsTimeZoneId);

Description

Load into the specified result the address of a 0 terminated C-string containing the default Zoneinfo time-zone identifier for the specified windowsTimeZoneId. Return 0 on success, and non-zero value with no other effect otherwise. The returned address is valid for the life-time of the process.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
resultreceives the Zoneinfo time-zone identifier
windowsTimeZoneIdWindows time-zone identifier to map