BloombergLP::baltzo::TimeZoneUtil::loadLocalTimePeriod

Load, into the specified result, attributes characterizing the specified localTime (i.e., the offset from UTC, whether daylight-saving time is in effect and the description of the time zone), as well as the time interval over which those attributes apply. Return 0 on success, and a non-zero value with no effect otherwise. A return value of ErrorCode::k_UNSUPPORTED_ID indicates that localTime.timeZoneId() was not recognized.

Synopsis

Declared in <baltzo_timezoneutil.h>

static
int
loadLocalTimePeriod(
    LocalTimePeriod* result,
    LocalDatetime const& localTime);