Return the date that is later by numDays from the specified date.
Synopsis
Declared in <bdlt_date.h>
bdlt::Date
operator+(
Date const& date,
int numDays);
Description
Return the date value that is later 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.
Return Value
date later by numDays from date
Parameters
Name |
Description |
date |
base date |
numDays |
signed number of days to add |
Created with MrDocs