[#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 `&lt;baltzo&lowbar;localtimeperiod&period;h&gt;`

Create a `LocalTimePeriod` object having the (default) attribute values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02d.adoc[LocalTimePeriod]();
----

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02d.adoc[_» more&period;&period;&period;_]#

Create a `LocalTimePeriod` object having the same value and the same allocator as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-03.adoc[LocalTimePeriod](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;LocalTimePeriod&gt;] original) noexcept;
----

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-03.adoc[_» more&period;&period;&period;_]#

Create a `LocalTimePeriod` object having default attribute values, using the specified `allocator` to supply memory&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02a.adoc[LocalTimePeriod](xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-02a.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Create a `LocalTimePeriod` object with the same value as the specified `original` object&period;


[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&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-04.adoc[_» more&period;&period;&period;_]#

Create a `LocalTimePeriod` object having the specified `descriptor`, `utcStartTime`, and `utcEndTime` attribute values&period;


[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&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/baltzo/LocalTimePeriod/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== 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]#
