Return a reverse iterator to the first holiday on or before date.

Synopsis

Declared in <bdlt_calendar.h>

Calendar::HolidayConstReverseIterator
rbeginHolidays(Date const& date) const;

Description

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

Return Value

a reverse iterator to the first holiday on or before date

Parameters

Name

Description

date

starting date for the reverse holiday search

Created with MrDocs