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

Subtraction assignment operators

Synopses

Declared in <bdlt_datetime.h>

Subtract from this object the value of the specified rhs object, and return a reference providing modifiable access to this object. If 24 == hour() on entry, set the hour attribute of this object to 0 before performing the subtraction. The behavior is undefined unless the resulting value is valid for Datetime (see isValid).

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

Subtract a time interval from this object.

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