This class provides an adapter from CONVENTION to bbldc::BasicDayCount.
Declared in <bbldc_basicbasicdaycountadapter.h>
template<class CONVENTION>
class BasicBasicDayCountAdapter
: public BasicDayCount
This class provides an "adapter" from the specified CONVENTION to the bbldc::BasicDayCount protocol that can be used for determining values based on dates according to the day-count CONVENTION.
| Name | Description |
|---|---|
BasicDayCount | This class provides a protocol for determining values based on dates according to derived implementations of specific day-count conventions. |
| Name | Description |
|---|---|
daysDiff [virtual] | Return the (signed) number of days between two dates. |
yearsDiff [virtual] | Return the (signed fractional) number of years between two dates. |