Return the number of holiday codes associated with date.

Synopsis

Declared in <bdlt_packedcalendar.h>

int
numHolidayCodes(Date const& date) const;

Description

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.

Return Value

the number of holiday codes associated with date

Parameters

Name

Description

date

date whose holiday codes are counted

Created with MrDocs