Constructors
Declared in <bbldc_perioddaterangedaycountadapter.h>
Create a day-count adapter that uses the specified periodDate and periodYearDiff.
PeriodDateRangeDayCountAdapter(
bsl::vector<bdlt::Date> const& periodDate,
double periodYearDiff,
bslma::Allocator* basicAllocator = 0);
» more...
See the corresponding bsl::vector overload above.
PeriodDateRangeDayCountAdapter(
std::pmr::vector<bdlt::Date> const& periodDate,
double periodYearDiff,
bslma::Allocator* basicAllocator = 0);
» more...
See the corresponding bsl::vector overload above.
PeriodDateRangeDayCountAdapter(
std::vector<bdlt::Date> const& periodDate,
double periodYearDiff,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| periodDate | sorted unique period-boundary dates |
| periodYearDiff | year fraction of each period |
| basicAllocator | memory allocator; null uses the default |