[#BloombergLP-baltzo-Zoneinfo-2constructor-002] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo]::Zoneinfo :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<baltzo_zoneinfo.h>` Create a `Zoneinfo` object having the values: ` numTransitions() == 0 identifier() == "" ` 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/Zoneinfo/2constructor-09.adoc[Zoneinfo](); ---- [.small]#xref:BloombergLP/baltzo/Zoneinfo/2constructor-09.adoc[_» more..._]# Create a `Zoneinfo` 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/Zoneinfo/2constructor-0c.adoc[Zoneinfo](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<Zoneinfo>] original) noexcept; ---- [.small]#xref:BloombergLP/baltzo/Zoneinfo/2constructor-0c.adoc[_» more..._]# Create a `Zoneinfo` object having default attribute values, using the specified `allocator` to supply memory. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/baltzo/Zoneinfo/2constructor-009.adoc[Zoneinfo](xref:BloombergLP/baltzo/Zoneinfo/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/Zoneinfo/2constructor-009.adoc[_» more..._]# Create a `Zoneinfo` 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/Zoneinfo/2constructor-00a.adoc[Zoneinfo]( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<Zoneinfo>] original, xref:BloombergLP/baltzo/Zoneinfo/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#xref:BloombergLP/baltzo/Zoneinfo/2constructor-00a.adoc[_» more..._]# Create a `Zoneinfo` 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/Zoneinfo/2constructor-02.adoc[Zoneinfo]( xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const& original, xref:BloombergLP/baltzo/Zoneinfo/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#xref:BloombergLP/baltzo/Zoneinfo/2constructor-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#