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

Synopsis

Declared in <baltzo_localtimeoffsetutil.h>

static
int
configure(char const* timezone);

Description

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.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

timezone

time zone identifier to configure

Created with MrDocs