BloombergLP::bdlt::operator-

Return the date value that is earlier by the specified (signed) numDays from the specified date. The behavior is undefined unless the resulting value falls within the range of dates supported by this class (see isValidYearMonthDay). Note that numDays may be negative.

Synopsis

Declared in <bdlt_date.h>

bdlt::Date
operator-(
    Date const& date,
    int numDays);