Constructors
Declared in <bdlt_datetimeinterval.h>
Create a time interval object having the value 0.
DatetimeInterval();
» more...
Create a time interval object having the value of the specified original time interval.
DatetimeInterval(DatetimeInterval const& original);
» more...
Create a time interval from the specified field values.
explicit
DatetimeInterval(
int days,
bsls::Types::Int64 hours = 0,
bsls::Types::Int64 minutes = 0,
bsls::Types::Int64 seconds = 0,
bsls::Types::Int64 milliseconds = 0,
bsls::Types::Int64 microseconds = 0);
» more...
| Name | Description |
|---|---|
| original | time interval to copy |
| days | day count |
| hours | hour count (optional) |
| minutes | minute count (optional) |
| seconds | second count (optional) |
| milliseconds | millisecond count (optional) |
| microseconds | microsecond count (optional) |