Increase this time by seconds; return midnight-boundary crossings.
Declared in <bdlt_time.h>
int
addSeconds(int seconds);
Increase the value of this time object by the specified number of seconds, and return the (signed) number of times that the 23:59:59.999999 - 00:00:00.000000 boundary was crossed in performing the operation. Note that seconds may be negative.
the (signed) number of midnight-boundary crossings
| Name | Description |
|---|---|
| seconds | signed number of seconds to add |