Increase this time by seconds; return midnight‐boundary crossings.

Synopsis

Declared in <bdlt_time.h>

int
addSeconds(int seconds);

Description

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.

Return Value

the (signed) number of midnight‐boundary crossings

Parameters

Name

Description

seconds

signed number of seconds to add

Created with MrDocs