configure overloads

Synopses

Declared in <baltzo_localtimeoffsetutil.h>

Configure local time period from the TZ environment variable.

static
int
configure();

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

static
int
configure(char const* timezone);

Configure local time period for timezone at utcDatetime.

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

timezone

time zone identifier to configure

utcDatetime

UTC datetime for the local time period

Created with MrDocs