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

Create a `Time` object having the (valid) value represented by the specified `hour`, and the optionally specified `minute`, `second`, `millisecond`, and `microsecond`&period; Unspecified arguments default to 0&period; The behavior is undefined unless all of the specified values are within their valid ranges (see `isValid`)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Time(
    int hour,
    int minute = 0,
    int second = 0,
    int millisecond = 0,
    int microsecond = 0);
----


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