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

Load the current local time period into `localTimePeriod`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
loadLocalTimePeriod(xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]* localTimePeriod);
----

== Description

Load to the specified `localTimePeriod` the local time period information currently used by the `localTimeOffset` method&period; That information is updated when `localTimeOffset` is called with a `utcDatetime` outside the range `localTimePeriod()&period;utcStartTime()` (inclusive) `localTimePeriod()&period;utcEndTime()` (exclusive)&period; This method is _not_ thread&hyphen;safe&period; The behavior is undefined if this method is invoked before the successful invocation of a `configure` method&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *localTimePeriod*
| receives the current local time period
|===


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