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

Constructors

== Synopses

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

Create a `Time` object having the value 24&colon;00&colon;00&period;000000&period;


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

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

Create a `Time` object having the value of the specified `original` time&period;


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

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

Create a `Time` object from the specified time&hyphen;of&hyphen;day fields&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlt/Time/2constructor-03.adoc[Time](
    int hour,
    int minute = 0,
    int second = 0,
    int millisecond = 0,
    int microsecond = 0);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| time whose value is copied
| *hour*
| hour attribute
| *minute*
| minute attribute (default 0)
| *second*
| second attribute (default 0)
| *millisecond*
| millisecond attribute (default 0)
| *microsecond*
| microsecond attribute (default 0)
|===


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