[#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: ` utcOffsetInSeconds() == 0 dstInEffectFlag() == false description() == "" ` Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [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. The value of `original` becomes unspecified but valid, and its allocator remains unchanged. [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` object having the same value as the specified `original` object, using the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory. 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. [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. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. [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. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. The behavior is undefined unless `‐86339 <= utcOffsetInSeconds <= 86399`. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#