Constructors

Synopses

Declared in <bdlt_time.h>

Create a Time object having the value 24:00:00.000000.

Time();

Create a Time object having the value of the specified original time.

Time(Time const& original);

Create a Time object from the specified time‐of‐day fields.

explicit
Time(
    int hour,
    int minute = 0,
    int second = 0,
    int millisecond = 0,
    int microsecond = 0);

Parameters

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)

Created with MrDocs