Add the specified number of seconds to this time interval.
Declared in <bdlt_datetimeinterval.h>
DatetimeInterval&
addSeconds(bsls::Types::Int64 seconds);
Add to this time interval the specified number of seconds, and return a reference providing modifiable access to this object. The behavior is undefined unless the resulting time interval value is valid (i.e., the days field must not overflow a 32-bit integer).
a reference providing modifiable access to this object
| Name | Description |
|---|---|
| seconds | seconds to add |