BloombergLP::bdlt::Calendar_BusinessDayConstIter

Provide read-only, sequential access in increasing (chronological) order to the business days in a Calendar object.

Synopsis

Declared in <bdlt_calendar.h>

class Calendar_BusinessDayConstIter;

Type Aliases

NameDescription
difference_type Signed integral type used to represent the distance between iterators.
iterator_category Iterator category for this business-day iterator.
pointer Proxy pointer type returned by this iterator's operator->.
reference The star operator returns a PackedCalendar_DateRef by value.
value_type Type of each element referenced by this iterator.

Member Functions

NameDescription
Calendar_BusinessDayConstIter [constructor]Create an iterator having the value of the specified original iterator.
~Calendar_BusinessDayConstIter [destructor]Destroy this object.
operator= Assign to this iterator the value of the specified rhs iterator.
operator* Return a PackedCalendar_DateRef object that contains the date value of the business day referenced by this iterator.
operator++ Advance this iterator to the next business day.
operator-- Regress this iterator to the previous business day.
operator-> Return a date proxy for the business day referenced by this iterator.

Friends

NameDescription
BloombergLP::bdlt::operator!=Return true if lhs and rhs do not refer to the same element.
BloombergLP::bdlt::operator==Return true if lhs and rhs refer to the same calendar element.
BloombergLP::bdlt::CalendarRuntime-efficient, value-semantic repository of weekend and holiday information.

Non-Member Functions

NameDescription
operator++Advance iterator to the next business day and return its prior value.
operator--Regress iterator to the previous business day and return its prior value.