[#BloombergLP-bdlt-PackedCalendar-beginHolidayCodes-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::beginHolidayCodes
:relfileprefix: ../../../
:mrdocs:

Return an iterator to the first holiday code for a date&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;packedcalendar&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/PackedCalendar/HolidayCodeConstIterator.adoc[HolidayCodeConstIterator]
beginHolidayCodes(xref:BloombergLP/bdlt/Date.adoc[Date] const& date) const;
----

== Description

Return an iterator providing non&hyphen;modifiable access to the first holiday code for the specified `date` in this calendar&period; If there is no holiday code associated with `date`, the returned iterator has the same value as that returned by `endHolidayCodes(date)`&period; The behavior is undefined unless `date` is marked as a holiday in this calendar&period;

== Return Value

an iterator to the first holiday code for `date`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *date*
| the holiday date
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
