Sequential, read‐only iterator over holidays in a PackedCalendar.
Synopsis
Declared in <bdlt_packedcalendar.h>
class PackedCalendar_HolidayConstIterator;
Description
Provide read‐only, sequential access in increasing (chronological) order to the holidays in a PackedCalendar object. This class owns an iterator into the bdlc::PackedIntArray storing the holiday offsets of the referenced bdlt::PackedCalendar and a date, d_firstDate, to convert the offsets into dates corresponding to holidays.
Type Aliases
Name |
Description |
Iterator difference type. |
|
Iterator category for this holiday iterator. |
|
Iterator pointer type. |
|
The star operator returns a |
|
Iterator value type. |
Member Functions
Name |
Description |
|
Create an iterator having the value of the specified |
|
Destroy this object. |
Assign to this iterator the value of the specified |
|
Return a |
|
Advance this iterator to the next holiday in the calendar. |
|
Regress this iterator to the previous holiday in the calendar. |
|
Return a date proxy for the holiday referenced by this iterator. |
Friends
Name |
Description |
Return |
|
Return |
|
Space‐efficient, value‐semantic repository of weekend and holiday information. |
Non-Member Functions
Name |
Description |
Advance |
|
Regress |
Created with MrDocs