[#BloombergLP-bdlt-LocalTimeOffset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::LocalTimeOffset
:relfileprefix: ../../
:mrdocs:

Provide a namespace for local&hyphen;time&hyphen;offset procedures&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;localtimeoffset&period;h&gt;`

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

== Description

This `struct` provides a namespace for local&hyphen;time&hyphen;offset procedures including a configurable global callback mechanism&period; The use of these procedures is thread&hyphen;safe (see `Thread Safety`)&period;

== 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&period;
|===


== 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&period;
| xref:BloombergLP/bdlt/LocalTimeOffset/localTimeOffsetCallback-04.adoc[`localTimeOffsetCallback`] 
| Return the currently installed `LocalTimeOffsetCallback` function&period;
| xref:BloombergLP/bdlt/LocalTimeOffset/localTimeOffsetDefault.adoc[`localTimeOffsetDefault`] 
| Provide the default local&hyphen;time&hyphen;offset callback implementation&period;
| xref:BloombergLP/bdlt/LocalTimeOffset/setLocalTimeOffsetCallback.adoc[`setLocalTimeOffsetCallback`] 
| Set the callback used to retrieve the local time offset&period;
|===



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