[#BloombergLP-baltzo-LocalTimeOffsetUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::LocalTimeOffsetUtil :relfileprefix: ../../ :mrdocs: Namespace for a `bdlt::LocalTimeOffset` callback and timezone utilities. == Synopsis Declared in `<baltzo_localtimeoffsetutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct LocalTimeOffsetUtil; ---- == Description This `struct` provides a namespace for a `bdlt::LocalTimeOffset` local time offset callback, and functions that manage the timezone information reported by that callback. All public methods are *thread‐safe*. == 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`. | xref:BloombergLP/baltzo/LocalTimeOffsetUtil/loadLocalTimePeriod.adoc[`loadLocalTimePeriod`] | Load the current local time period into `localTimePeriod`. | xref:BloombergLP/baltzo/LocalTimeOffsetUtil/loadTimezone-06.adoc[`loadTimezone`] | Load the time zone identifier into `timezone`. | xref:BloombergLP/baltzo/LocalTimeOffsetUtil/localTimeOffset.adoc[`localTimeOffset`] | Return the local time offset from UTC for `utcDatetime`. | xref:BloombergLP/baltzo/LocalTimeOffsetUtil/setLoadLocalTimeOffsetCallback.adoc[`setLoadLocalTimeOffsetCallback`] | Set `localTimeOffset` as the local time offset callback of `bdlt::CurrentTime`. Return the previously installed callback. This method is _not_ thread‐safe. | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#