BloombergLP::bdlt::Calendar::numBusinessDays

numBusinessDays overloads

Synopses

Declared in <bdlt_calendar.h>

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

int
numBusinessDays() const;
» more...

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

int
numBusinessDays(
    Date const& beginDate,
    Date const& endDate) const;
» more...

Return Value

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

Parameters

NameDescription
beginDatefirst date of the inclusive range
endDatelast date of the inclusive range