configure overloads
Synopses
Declared in <baltzo_localtimeoffsetutil.h>
Set the local time period information used by the localTimeOffset method to that for the time zone in the TZ environment variable at the current UTC datetime. Return 0 on success, and a non‐zero value otherwise. This method is not thread‐safe. The behavior is undefined if the environment changes (e.g., a call to the putenv POSIX function) during the invocation of this method.
static
int
configure();
Set the local time period information used by the localTimeOffset method to that for specified timezone at the current UTC datetime. Return 0 on success, and a non‐zero value otherwise. This method is not thread‐safe.
static
int
configure(char const* timezone);
Set the local time period information used by the localTimeOffset method to that for the specified timezone at the specified utcDatetime. Return 0 on success, and a non‐zero value otherwise. This method is not thread‐safe.
static
int
configure(
char const* timezone,
bdlt::Datetime const& utcDatetime);
Created with MrDocs