BloombergLP::bdlt::Time::addMinutes

Increase this time by minutes; return midnight-boundary crossings.

Synopsis

Declared in <bdlt_time.h>

int
addMinutes(int minutes);

Description

Increase the value of this time object by the specified number of minutes, 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 minutes may be negative.

Return Value

the (signed) number of midnight-boundary crossings

Parameters

NameDescription
minutessigned number of minutes to add