Return an iterator to the first holiday code for a date.
Synopsis
Declared in <bdlt_calendar.h>
Calendar::HolidayCodeConstIterator
beginHolidayCodes(Date const& date) const;
Description
Return an iterator providing non‐modifiable access to the first holiday code for the specified date in this calendar.
If there is no holiday code associated with date, the returned iterator has the same value as that returned by endHolidayCodes(date). The behavior is undefined unless date is marked as a holiday in this calendar.
Return Value
an iterator to the first holiday code for date
Parameters
Name |
Description |
date |
the holiday date |
Created with MrDocs