This class provides a protocol for determining values based on dates according to derived implementations of specific day‐count conventions.
Synopsis
Declared in <bbldc_daterangedaycount.h>
class DateRangeDayCount;
Description
The methods firstDate and lastDate define a date range for which calculations are valid, to reflect the valid range of, say, a calendar required for the computations.
Member Functions
Name |
Description |
|
Destroy this object. |
|
Return the (signed) number of days between two dates. |
|
Return a reference providing non‐modifiable access to the earliest date in the valid range of this day‐count convention. |
|
Return a reference providing non‐modifiable access to the latest date in the valid range of this day‐count convention. |
|
Return the (signed fractional) number of years between two dates. |
Derived Classes
Name |
Description |
Adapter from a day‐count |
|
Adapter from a calendar‐based day‐count |
|
Adapter from a period‐based day‐count |
|
Adapter from a day‐count |
Created with MrDocs