Constructors
Declared in <bbldc_perioddaterangedaycountadapter.h>
Create a day-count adapter that uses the specified periodDate and periodYearDiff during invocations of yearsDiff. periodDate provides the period starting dates and periodYearDiff defines the duration of each period (e.g., 0.25 for quarterly periods). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless periodDate.size() >= 2 and the values contained in periodDate are unique and sorted from minimum to maximum.
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...