[#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 `<baltzo_localtimedescriptor.h>` Create a `LocalTimeDescriptor` object having the default attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-0a.adoc[LocalTimeDescriptor](); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-0a.adoc[_» more..._]# Create a `LocalTimeDescriptor` object having the same value and the same allocator as the specified `original` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-0e.adoc[LocalTimeDescriptor](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalTimeDescriptor>] original) noexcept; ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-0e.adoc[_» more..._]# Create a `LocalTimeDescriptor` object having default attribute values, using the specified `allocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-07.adoc[LocalTimeDescriptor](xref:BloombergLP/baltzo/LocalTimeDescriptor/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-07.adoc[_» more..._]# Create a `LocalTimeDescriptor` by moving from the specified `original` using the specified `allocator`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-00.adoc[LocalTimeDescriptor]( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalTimeDescriptor>] original, xref:BloombergLP/baltzo/LocalTimeDescriptor/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-00.adoc[_» more..._]# Create a `LocalTimeDescriptor` object having the same value as the specified `original` object. [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_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-09.adoc[_» more..._]# Create a `LocalTimeDescriptor` object having the specified `utcOffsetInSeconds`, `dstInEffectFlag`, and `description` attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-03.adoc[LocalTimeDescriptor]( int utcOffsetInSeconds, bool dstInEffectFlag, std::string_view const& description, xref:BloombergLP/baltzo/LocalTimeDescriptor/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/baltzo/LocalTimeDescriptor/2constructor-03.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *original* | the object to move from | *allocator* | the allocator used to supply memory | *utcOffsetInSeconds* | signed offset from UTC in seconds | *dstInEffectFlag* | `true` if Daylight‐Saving Time is in effect | *description* | non‐canonical identifier for this descriptor |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#