[#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;`

Configure local time period from the `TZ` environment variable&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;_]#

Configure local time period for `timezone` at the current UTC time&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;_]#

Configure local time period for `timezone` at `utcDatetime`&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;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *timezone*
| time zone identifier to configure
| *utcDatetime*
| UTC datetime for the local time period
|===


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