BloombergLP::bdlt::Calendar::rendBusinessDays

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

Synopsis

Declared in <bdlt_calendar.h>

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

Description

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

Return Value

a reverse iterator to the first business day before date

Parameters

NameDescription
datedate before which to find a business day