[#BloombergLP-bdlt-PackedCalendar-holiday] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::holiday :relfileprefix: ../../../ :mrdocs: Return the holiday at the specified `index` in this calendar. For all `index` values from 0 to `numHolidays() ‐ 1` (inclusive), a unique holiday is returned. The mapping of `index` to holiday is invalidated when the set of holidays is modified by an invocation of `addHoliday`, `addHolidayIfInRange`, `intersectBusinessDays`, `intersectNonBusinessDays`, `removeAll`, `removeHoliday`, `setValidRange`, `unionBusinessDays`, or `unionNonBusinessDays`. The behavior is undefined unless `0 <= index < numHolidays()`. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] holiday(int index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#