BloombergLP::bsls::TimeInterval::operator+=

Add the specified rhs time interval to this object.

Synopsis

Declared in <bsls_timeinterval.h>

TimeInterval&
operator+=(TimeInterval const& rhs);

Description

Add to this time interval the value of the specified rhs time interval, and return a reference providing modifiable access to this object. The behavior is undefined unless the total number of seconds in the resulting time interval can be represented with a 64-bit signed integer.

Return Value

a reference providing modifiable access to this object

Parameters

NameDescription
rhsright-hand time interval