BloombergLP::bbldc::PeriodDateRangeDayCountAdapter::PeriodDateRangeDayCountAdapter

Constructors

Synopses

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...

Parameters

NameDescription
periodDatesorted unique period-boundary dates
periodYearDiffyear fraction of each period
basicAllocatormemory allocator; null uses the default