BloombergLP::bdlt::PackedCalendar::numNonBusinessDays

Return the number of non-business days in this calendar.

Synopsis

Declared in <bdlt_packedcalendar.h>

int
numNonBusinessDays() const;

Description

Return the number of days in the valid range of this calendar that are not considered business days -- i.e., are either holidays, weekend days, or both. Note that numNonBusinessDays() == length() - numBusinessDays().

Return Value

the number of non-business days in this calendar