Return the nth business day following initialDate.
Declared in <bdlt_calendar.h>
Date
getNextBusinessDay(
Date const& initialDate,
int nth) const;
Return the date of the specified nth business day following the specified initialDate. For dates outside of the range of this calendar, only weekend days are considered non-business days. The behavior is undefined unless initialDate is within the valid range and 1 <= nth (or if every day of the week is a weekend day, or if the resulting date would otherwise exceed the value Date(9999, 12, 31)).
the nth business day following initialDate
| Name | Description |
|---|---|
| initialDate | date after which to count business days |
| nth | one-based count of business days to advance |