BloombergLP::bdlt::Datetime::operator-=

Subtraction assignment operators

Synopses

Declared in <bdlt_datetime.h>

Subtract the specified datetime interval rhs from this datetime.

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

Subtract a time interval from this object.

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

Return Value

reference to this object

Parameters

NameDescription
rhsdatetime interval to subtract