BloombergLP::bdlt::PackedCalendar::getNextBusinessDay

getNextBusinessDay overloads

Synopses

Declared in <bdlt_packedcalendar.h>

Load the first business day after date into nextBusinessDay.

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

Load the nth business day after date into nextBusinessDay.

int
getNextBusinessDay(
    Date* nextBusinessDay,
    Date const& date,
    int nth) const;
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
nextBusinessDayoutput for the next business day
datedate after which to search
nthnumber of business days after date to find