loadLocalTimePeriod overloads

Synopses

Declared in <baltzo_timezoneutil.h>

Load local‐time period attributes for localTime.

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

Load local‐time period attributes for localTime in timeZoneId.

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

result

receives the local‐time period attributes

localTime

local date‐time whose period attributes are loaded

timeZoneId

identifier of the time zone for localTime

Created with MrDocs