Return the signed fractional year count using a std::pmr::vector of period boundary dates.
Synopsis
Declared in <bbldc_periodicmaactualactual.h>
static
double
yearsDiff(
bdlt::Date const& beginDate,
bdlt::Date const& endDate,
std::pmr::vector<bdlt::Date> const& periodDate,
double periodYearDiff);
Return Value
the signed fractional number of years between the dates
Parameters
Name |
Description |
beginDate |
the start date |
endDate |
the end date |
periodDate |
the period boundary dates |
periodYearDiff |
the duration of each period in years |
Created with MrDocs