[#BloombergLP-bdlt-Calendar-numHolidayCodes] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::numHolidayCodes :relfileprefix: ../../../ :mrdocs: Return the number of holiday codes associated with `date`. == Synopsis Declared in `<bdlt_calendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numHolidayCodes(xref:BloombergLP/bdlt/Date.adoc[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 [cols="1,4"] |=== | Name| Description | *date* | date whose holiday codes are counted |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#