BloombergLP::bdlt::PackedCalendar::beginHolidayCodes

Return an iterator to the first holiday code for a holiday.

Synopsis

Declared in <bdlt_packedcalendar.h>

PackedCalendar::HolidayCodeConstIterator
beginHolidayCodes(HolidayConstIterator const& iter) const;

Description

Return an iterator providing non-modifiable access to the first holiday code for the holiday referenced by the specified iter. If there is no holiday code associated with the date referenced by iter, the returned iterator has the same value as that returned by endHolidayCodes(iter). The behavior is undefined unless iter refers to a valid holiday of this calendar.

Return Value

an iterator to the first holiday code for *iter

Parameters

NameDescription
iterthe holiday iterator