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