Increase this time by milliseconds; return midnight‐boundary crossings.
Synopsis
Declared in <bdlt_time.h>
int
addMilliseconds(int milliseconds);
Description
Increase the value of this time object by the specified number of milliseconds, 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 milliseconds may be negative.
Return Value
the (signed) number of midnight‐boundary crossings
Parameters
Name |
Description |
milliseconds |
signed number of milliseconds to add |
Created with MrDocs