[#BloombergLP-bdlt-PackedCalendar-numHolidayCodesTotal] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::numHolidayCodesTotal :relfileprefix: ../../../ :mrdocs: Return the total number of holiday codes for all holidays in this calendar. Note that this function is used primarily in conjunction with `reserveHolidayCodeCapacity`. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numHolidayCodesTotal() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#