[#BloombergLP-bdlt-TimeTz-2constructor-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimeTz.adoc[TimeTz]::TimeTz
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlt&lowbar;timetz&period;h&gt;`

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/TimeTz/2constructor-05.adoc[TimeTz]();
----

[.small]#xref:BloombergLP/bdlt/TimeTz/2constructor-05.adoc[_» more&period;&period;&period;_]#

Construct a `TimeTz` object having the same value as the specified `original` `TimeTz` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/TimeTz/2constructor-06.adoc[TimeTz](xref:BloombergLP/bdlt/TimeTz.adoc[TimeTz] const& original);
----

[.small]#xref:BloombergLP/bdlt/TimeTz/2constructor-06.adoc[_» more&period;&period;&period;_]#

Create a `TimeTz` object whose local time and offset attributes have the specified `localTime` and `offset` values respectively&period; The behavior is undefined unless `offset` is in the range `( &hyphen;1440 &period;&period; 1440 )`, and `offset` is 0 if `localTime` has the value `24&colon;00&colon;00&period;000`&period; Note that this method provides no validation, and it is the user&apos;s responsibility to ensure that `offset` represents a valid time zone and that `localTime` represents a valid time in that time zone&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/TimeTz/2constructor-09.adoc[TimeTz](
    xref:BloombergLP/bdlt/Time.adoc[Time] const& localTime,
    int offset);
----

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


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