[#BloombergLP-baltzo-LocalTimeOffsetUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::LocalTimeOffsetUtil
:relfileprefix: ../../
:mrdocs:

Namespace for a `bdlt&colon;&colon;LocalTimeOffset` callback and timezone utilities&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;localtimeoffsetutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct LocalTimeOffsetUtil;
----

== Description

This `struct` provides a namespace for a `bdlt&colon;&colon;LocalTimeOffset` local time offset callback, and functions that manage the timezone information reported by that callback&period; All public methods are *thread&hyphen;safe*&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/configure-0a.adoc[`configure`] 
| `configure` overloads
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/loadLocalTimeOffset.adoc[`loadLocalTimeOffset`] 
| Load the local time offset from UTC for `utcDatetime` into `result`&period;
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/loadLocalTimePeriod.adoc[`loadLocalTimePeriod`] 
| Load the current local time period into `localTimePeriod`&period;
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/loadTimezone-06.adoc[`loadTimezone`] 
| Load the time zone identifier into `timezone`&period;
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/localTimeOffset.adoc[`localTimeOffset`] 
| Return the local time offset from UTC for `utcDatetime`&period;
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/setLoadLocalTimeOffsetCallback.adoc[`setLoadLocalTimeOffsetCallback`] 
| Set `localTimeOffset` as the local time offset callback of `bdlt&colon;&colon;CurrentTime`&period; Return the previously installed callback&period; This method is _not_ thread&hyphen;safe&period;
| xref:BloombergLP/baltzo/LocalTimeOffsetUtil/updateCount.adoc[`updateCount`] 
| Return the number of successful updates of the local time period information since the start of the process&period;
|===



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