BloombergLP::bdlt::Calendar::rbeginBusinessDays

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

Synopsis

Declared in <bdlt_calendar.h>

Calendar::BusinessDayConstReverseIterator
rbeginBusinessDays(Date const& date) const;

Description

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

Return Value

a reverse iterator to the first business day on or before date

Parameters

NameDescription
datestarting date for the reverse business-day search