BloombergLP::bdlt::Calendar::rendHolidays

Return a reverse iterator to the first holiday before date.

Synopsis

Declared in <bdlt_calendar.h>

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

Description

Return an iterator providing non-modifiable access to the first holiday that occurs 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(). The behavior is undefined unless date is within the valid range of this calendar.

Return Value

a reverse iterator to the first holiday before date

Parameters

NameDescription
datedate before which to find a holiday