BloombergLP::bbldc::TerminatedDateRangeDayCountAdapter::TerminatedDateRangeDayCountAdapter

Create a day-count adapter that uses the specified terminationDate.

Synopsis

Declared in <bbldc_terminateddaterangedaycountadapter.h>

TerminatedDateRangeDayCountAdapter(bdlt::Date const& terminationDate);

Description

Create a day-count adapter that uses the specified terminationDate during invocations of daysDiff and yearsDiff.

Parameters

NameDescription
terminationDatetermination date used in all calculations