Return an iterator to the first holiday after date.

Synopsis

Declared in <bdlt_packedcalendar.h>

PackedCalendar::HolidayConstIterator
endHolidays(Date const& date) const;

Description

Return an iterator providing non‐modifiable access to the first holiday that occurs after the specified date in this calendar. If this calendar has no such holiday, the returned iterator has the same value as that returned by endHolidays(). The behavior is undefined unless date is within the valid range of this calendar.

Return Value

an iterator to the first holiday after date

Parameters

Name

Description

date

date after which to find a holiday

Created with MrDocs