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)).

Synopsis

Declared in <bdlt_calendar.h>

Date
getNextBusinessDay(
    Date const& initialDate,
    int nth) const;

Created with MrDocs