BloombergLP::bdlt::DatetimeInterval::setTotalMinutes

Set this interval to the specified total number of minutes.

Synopsis

Declared in <bdlt_datetimeinterval.h>

void
setTotalMinutes(bsls::Types::Int64 minutes);

Description

Set the overall value of this object to indicate the specified number of minutes. The behavior is undefined unless the resulting time interval value is valid (i.e., the days field must not overflow a 32-bit integer).

Parameters

NameDescription
minutestotal minutes