pub fn value_range(&self, dr: DateRange) -> Option<&[T]> {
        let start = self.timeline.index_at(dr.from())? as usize;
        let end = self.timeline.index_at(dr.last_day())? as usize;
        self.values.get(start..=end)
    }
/// Return a reference to the underlying timeseries values
/// for the values that span the given date range. Note that
/// the whole of the supplied date range must lie within the
/// timeline of the `TimeSeries` or rhis will return `None`
Return a reference to the underlying timeseries values
for the values that span the given date range. Note that
the whole of the supplied date range must lie within the
timeline of the `TimeSeries` or rhis will return `None`
Return a reference to the underlying timeseries values for the values that span the given date range . Note that the whole of the supplied date range must lie within the timeline of the ` TimeSeries ` or rhis will return ` None `
pub fn value_range(&self, dr: DateRange) -> Option<&[T]> {
        let start = self.timeline.index_at(dr.from())? as usize;
        let end = self.timeline.index_at(dr.last_day())? as usize;
        self.values.get(start..=end)
    }
pub fn value_range ( & self , dr : DateRange ) -> Option < & [ T ] > { let start = self . timeline . index_at ( dr . from ( ) ) ? as usize ; let end = self . timeline . index_at ( dr . last_day ( ) ) ? as usize ; self . values . get ( start ..= end ) }
Return a reference to the underlying timeseries values
for the values that span the given date range.
Return a reference to the underlying timeseries values for the values that span the given date range .
&self
dr
DateRange
&self
dr
DateRange