Reference to a Date for holiday and business‐day iterators.
Synopsis
Declared in <bdlt_packedcalendar.h>
class PackedCalendar_DateRef
: public Date
Description
This private class is used by the arrow operator of the holiday iterator and business day iterator classes. The objects instantiated from this class serve as references to Date objects.
Base Classes
Name |
Description |
Value‐semantic type representing a date in the Unix (POSIX) calendar. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Assign to this object the value of the specified |
|
Add |
|
Assign to this object the value read from the specified BDEX stream. |
|
Write this date to the specified output stream. |
|
Return the day of the month in the range |
|
Return the day of the week in the range |
|
Return the day of the year in the range |
|
Load, into the specified |
|
Load, into the specified |
|
Return the month of the year in the range |
|
Return the month of the year in the range |
|
Return a proxy object to this object's referenced date. |
|
Advance this date by one day. |
|
Advance this date by the specified (signed) number of days. |
|
Move this date earlier by one day. |
|
Move this date earlier by the specified (signed) number of days. |
|
Write this date to the specified output stream in a human‐readable form. |
|
Set this date to the specified |
|
Set this date from |
|
Set this date to the specified |
|
Set this date from Y/M/D if they form a valid value; otherwise do nothing. |
|
Write this date to the specified stream in a single‐line format. |
|
Set this date from |
|
Set this date from Y/M/D if they form a valid value; otherwise do nothing. |
|
Return the year in the range |
Static Member Functions
Name |
Description |
|
|
Return |
|
Return |
|
|
|
Return the most current BDEX streaming version number supported by this class. |
Non-Member Functions
Name |
Description |
Return |
|
Return the date that is later by |
|
Advance |
|
Return the signed number of days between two dates. |
|
Return the date that is earlier by |
|
Move |
|
Return |
|
Return |
|
Return |
|
Return |
|
Return |
Created with MrDocs