BloombergLP::bdlt::operator-

Return a DatetimeInterval object whose value is the negative of the specified time interval value. The behavior is undefined unless INT_MIN < value.days().

Synopsis

Declared in <bdlt_datetimeinterval.h>

bdlt::DatetimeInterval
operator-(DatetimeInterval const& value);

Return Value

the negation of value

Parameters

NameDescription
valuetime interval to negate