BloombergLP::bsls::TimeInterval::setTotalMinutes

Set this interval to the specified total number of minutes.

Synopsis

Declared in <bsls_timeinterval.h>

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

Description

Set the overall value of this object to indicate the specified integral number of minutes. The behavior is undefined unless the number of seconds in minutes can be represented with a 64-bit signed integer. Note that minutes may be negative.

Parameters

NameDescription
minutestotal minutes