BloombergLP::baltzo::TimeZoneUtil::loadLocalTimePeriod

loadLocalTimePeriod overloads

Synopses

Declared in <baltzo_timezoneutil.h>

Load local-time period attributes for localTime.

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

Load local-time period attributes for localTime in timeZoneId.

static
int
loadLocalTimePeriod(
    LocalTimePeriod* result,
    bdlt::DatetimeTz const& localTime,
    char const* timeZoneId);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
resultreceives the local-time period attributes
localTimelocal date-time whose period attributes are loaded
timeZoneIdidentifier of the time zone for localTime