[#BloombergLP-baltzo-LocalTimeOffsetUtil-configure-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimeOffsetUtil.adoc[LocalTimeOffsetUtil]::configure :relfileprefix: ../../../ :mrdocs: `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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-03.adoc[configure](); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-03.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-0c.adoc[configure](char const* timezone); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-0c.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-0e.adoc[configure]( char const* timezone, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcDatetime); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#