BloombergLP::bdlt::Datetime::operator+=

Addition assignment operators

Synopses

Declared in <bdlt_datetime.h>

Add the specified datetime interval rhs to this datetime.

Datetime&
operator+=(DatetimeInterval const& rhs);
» more...

Add the specified time interval rhs to this datetime.

Datetime&
operator+=(bsls::TimeInterval const& rhs);
» more...

Return Value

reference to this object

Parameters

NameDescription
rhsdatetime interval to add