[#BloombergLP-baltzo-LocalTimePeriod-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]::LocalTimePeriod :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<baltzo_localtimeperiod.h>` Create a `LocalTimePeriod` object having the (default) attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02d.adoc[LocalTimePeriod](); ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02d.adoc[_» more..._]# Create a `LocalTimePeriod` object having the same value and the same allocator as the specified `original` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-03.adoc[LocalTimePeriod](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalTimePeriod>] original) noexcept; ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-03.adoc[_» more..._]# Create a `LocalTimePeriod` object having default attribute values, using the specified `allocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02a.adoc[LocalTimePeriod](xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02a.adoc[_» more..._]# Create a `LocalTimePeriod` object having the same value as the specified `original` object, using the specified `allocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0c.adoc[LocalTimePeriod]( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalTimePeriod>] original, xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0c.adoc[_» more..._]# Create a `LocalTimePeriod` object with the same value as the specified `original` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-04.adoc[LocalTimePeriod]( xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod] const& original, xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-04.adoc[_» more..._]# Create a `LocalTimePeriod` object having the specified `descriptor`, `utcStartTime`, and `utcEndTime` attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0a.adoc[LocalTimePeriod]( xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor] const& descriptor, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcStartTime, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcEndTime, xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0a.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *original* | the object to move from | *allocator* | the allocator used to supply memory | *descriptor* | local time descriptor for the period | *utcStartTime* | UTC start time of the period | *utcEndTime* | UTC end time of the period |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#