BloombergLP::baltzo::LocalTimeOffsetUtil::configure

configure overloads

Synopses

Declared in <baltzo_localtimeoffsetutil.h>

Configure local time period from the TZ environment variable.

static
int
configure();
» more...

Configure local time period for timezone at the current UTC time.

static
int
configure(char const* timezone);
» more...

Configure local time period for timezone at utcDatetime.

static
int
configure(
    char const* timezone,
    bdlt::Datetime const& utcDatetime);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
timezonetime zone identifier to configure
utcDatetimeUTC datetime for the local time period