BloombergLP::bdlt::Calendar::numHolidayCodes

Return the number of (unique) holiday codes associated with the specified date in this calendar if date is a holiday in this calendar, and 0 otherwise. The behavior is undefined unless date is within the valid range of this calendar.

Synopsis

Declared in <bdlt_calendar.h>

int
numHolidayCodes(Date const& date) const;