Skip to main content

strip_records

Function strip_records 

pub(crate) fn strip_records(
    expiry_name: &'static str,
    end_name: &'static str,
    value_name: &'static str,
    rows: &[((NaiveDate, NaiveDate), f64)],
) -> Records
Expand description

A table of (expiry, end, value) rows under the three names given.

A strip point is a pair of dates in the core. A column cannot hold a pair, and splitting it here is what finally labels the two: which of them was which lived only in a docstring before.