Add the specified number of days to this time interval.
Declared in <bsls_timeinterval.h>
constexpr
TimeInterval&
addDays(bsls::Types::Int64 days);
Add to this time interval the number of seconds represented by the specified integral number of days, and return a reference providing modifiable access to this object. The behavior is undefined unless the number of seconds in days, and the total number of seconds in the resulting time interval, can both be represented with 64-bit signed integers. Note that days may be negative.
a reference providing modifiable access to this object
| Name | Description |
|---|---|
| days | days to add |