[#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. == Synopsis Declared in `<baltzo_localtimeperiod.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- LocalTimePeriod( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalTimePeriod>] original, xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator); ---- == Description The allocator of `original` remains unchanged. 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; otherwise `original` is unchanged and an exception may be thrown. == 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]#