BloombergLP::bdlt::Calendar::getNextBusinessDay

Load, into the specified nextBusinessDay, the date of the first business day in this calendar following the specified date. Return 0 on success -- i.e., if such a business day exists, and a non-zero value (with no effect on nextBusinessDay) otherwise. The behavior is undefined unless date + 1 is both a valid bdlt::Date and within the valid range of this calendar.

Synopsis

Declared in <bdlt_calendar.h>

int
getNextBusinessDay(
    Date* nextBusinessDay,
    Date const& date) const;