numBusinessDays overloads

Synopses

Declared in <bdlt_calendar.h>

Return the number of business days in the valid range of this calendar.

int
numBusinessDays() const;

Return the number of business days in [beginDate .. endDate].

int
numBusinessDays(
    Date const& beginDate,
    Date const& endDate) const;

Return Value

  • the number of business days in the valid range

  • the number of business days in [beginDate .. endDate]

Parameters

Name

Description

beginDate

first date of the inclusive range

endDate

last date of the inclusive range

Created with MrDocs