Return the next occurrence of dayOfWeek on or after date.
Declared in <bdlt_dateutil.h>
static
Date
nextDayOfWeekInclusive(
DayOfWeek::Enum dayOfWeek,
Date const& date);
Return the first date on or after the specified date that falls on the specified dayOfWeek. The behavior is undefined unless the resulting date is no later than 9999/12/31.
next matching date on or after date
| Name | Description |
|---|---|
| dayOfWeek | desired day of week |
| date | inclusive lower bound date |