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

Name

Description

value

time interval to negate

Created with MrDocs