Configure local time period for timezone at utcDatetime.
Declared in <baltzo_localtimeoffsetutil.h>
static
int
configure(
char const* timezone,
bdlt::Datetime const& utcDatetime);
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.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| timezone | time zone identifier to configure |
| utcDatetime | UTC datetime for the local time period |