BloombergLP::bdlt::PackedCalendar::rbeginHolidayCodes

Return an iterator to the last holiday code for a date.

Synopsis

Declared in <bdlt_packedcalendar.h>

PackedCalendar::HolidayCodeConstReverseIterator
rbeginHolidayCodes(Date const& date) const;

Description

Return an iterator providing non-modifiable access to the last holiday code associated with the specified date in this calendar. If there are no holiday codes associated with date, the returned iterator has the same value as that returned by rendHolidayCodes(date). The behavior is undefined unless date is marked as a holiday in this calendar.

Return Value

an iterator to the last holiday code for date

Parameters

NameDescription
datethe holiday date