[#BloombergLP-bdlt-LocalTimeOffset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::LocalTimeOffset :relfileprefix: ../../ :mrdocs: Provide a namespace for local‐time‐offset procedures. == Synopsis Declared in `<bdlt_localtimeoffset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct LocalTimeOffset; ---- == Description This `struct` provides a namespace for local‐time‐offset procedures including a configurable global callback mechanism. The use of these procedures is thread‐safe (see `Thread Safety`). == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/LocalTimeOffset/LocalTimeOffsetCallback-08.adoc[`LocalTimeOffsetCallback`] | Callback function type that returns the local time offset from UTC. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/LocalTimeOffset/localTimeOffset.adoc[`localTimeOffset`] | Return the local time offset from UTC at the specified date and time. | xref:BloombergLP/bdlt/LocalTimeOffset/localTimeOffsetCallback-04.adoc[`localTimeOffsetCallback`] | Return the currently installed `LocalTimeOffsetCallback` function. | xref:BloombergLP/bdlt/LocalTimeOffset/localTimeOffsetDefault.adoc[`localTimeOffsetDefault`] | Provide the default local‐time‐offset callback implementation. | xref:BloombergLP/bdlt/LocalTimeOffset/setLocalTimeOffsetCallback.adoc[`setLocalTimeOffsetCallback`] | Set the callback used to retrieve the local time offset. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#