[#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 (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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numHolidayCodes(xref:BloombergLP/bdlt/Date.adoc[Date] const& date) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#