BloombergLP::bdlt::DatetimeInterval::addMinutesIfValid

Add to this time interval the specified number of minutes. Return 0 if the resulting time interval value is valid (i.e., the days field must not overflow an int) and a non-zero value (with no effect) otherwise.

Synopsis

Declared in <bdlt_datetimeinterval.h>

int
addMinutesIfValid(bsls::Types::Int64 minutes);