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;

Load the nth business day after date into nextBusinessDay.

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

nextBusinessDay

output for the next business day

date

date after which to search

nth

number of business days after date to find

Created with MrDocs