[#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 `&lt;baltzo&lowbar;localtimeoffsetutil&period;h&gt;`

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&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; This method is _not_ thread&hyphen;safe&period; The behavior is undefined if the environment changes (e&period;g&period;, a call to the `putenv` POSIX function) during the invocation of this method&period;


[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&period;&period;&period;_]#

Set the local time period information used by the `localTimeOffset` method to that for specified `timezone` at the current UTC datetime&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; This method is _not_ thread&hyphen;safe&period;


[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&period;&period;&period;_]#

Set the local time period information used by the `localTimeOffset` method to that for the specified `timezone` at the specified `utcDatetime`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; This method is _not_ thread&hyphen;safe&period;


[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&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
