Return true if date is not a business day in this calendar.

Synopsis

Declared in <bdlt_packedcalendar.h>

bool
isNonBusinessDay(Date const& date) const;

Description

Return true if the specified date is not a business day (i.e., is either a holiday or weekend day) in this calendar, and false otherwise. The behavior is undefined unless date is within the valid range of this calendar. Note that: ` !isBusinessDay(date) ` returns the same result.

Return Value

true if date is not a business day, and false otherwise

Parameters

Name

Description

date

date to test

Created with MrDocs