[#BloombergLP-baltzo-LocalTimePeriod-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]::LocalTimePeriod
:relfileprefix: ../../../
:mrdocs:

Create a `LocalTimePeriod` object having the same value as the specified `original` object, using the specified `allocator` to supply memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
LocalTimePeriod(
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;LocalTimePeriod&gt;] original,
    xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

== Description

The allocator of `original` remains unchanged&period; If `original` and the newly created object have the same allocator then the value of `original` becomes unspecified but valid, and no exceptions will be thrown&semi; otherwise `original` is unchanged and an exception may be thrown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| the object to move from
| *allocator*
| the allocator used to supply memory
|===


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