BloombergLP::baltzo::DataFileLoader::loadTimeZone

Load into the specified result the time-zone information for the time zone identified by the specified timeZoneId. The result will have a sentinel transition at 01-01-001, meeting the first two requirements for a "well-formed" object (see baltzo::ZoneinfoUtil::isWellFormed documentation). Return 0 on success, and a non-zero value otherwise. A return status of ErrorCode::k_UNSUPPORTED_ID indicates that timeZoneId is not recognized. If an error occurs during this operation, result will be left in a valid, but unspecified state.

Synopsis

Declared in <baltzo_datafileloader.h>

virtual
int
loadTimeZone(
    Zoneinfo* result,
    char const* timeZoneId) override;