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

Constructors

== Synopses

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

Create a `LocalTimeDescriptor` object having the (default) attribute values&colon; &grave; utcOffsetInSeconds() &equals;&equals; 0 dstInEffectFlag() &equals;&equals; false description() &equals;&equals; &quot;&quot; &grave; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&period;


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

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

Create a `LocalTimeDescriptor` object having the same value and the same allocator as the specified `original` object&period; The value of `original` becomes unspecified but valid, and its allocator remains unchanged&period;


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

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

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


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

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

Create a `LocalTimeDescriptor` object having the same value as the specified `original` object, using the specified `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&period; 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;


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

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

Create a `LocalTimeDescriptor` object having the same value as the specified `original` object&period; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&period;


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

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

Create a `LocalTimeDescriptor` object having the specified `utcOffsetInSeconds`, `dstInEffectFlag`, and `description` attribute values&period; Optionally specify an `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&semi; otherwise, the default allocator is used&period; The behavior is undefined unless `&hyphen;86339 &lt;&equals; utcOffsetInSeconds &lt;&equals; 86399`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-03.adoc[LocalTimeDescriptor](
    int utcOffsetInSeconds,
    bool dstInEffectFlag,
    std::string&lowbar;view const& description,
    xref:BloombergLP/baltzo/LocalTimeDescriptor/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

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


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