BloombergLP::bdlt::PackedCalendar::isHoliday

Return true if date is a holiday in this calendar.

Synopsis

Declared in <bdlt_packedcalendar.h>

bool
isHoliday(Date const& date) const;

Description

Return true if the specified date is a holiday in this calendar, and false otherwise. The behavior is undefined unless date is within the valid range of this calendar.

Return Value

true if date is a holiday, and false otherwise

Parameters

NameDescription
datedate to test