closest Interval
Returns the interval closest to the provided date within the time series.
Return
An object containing the closest interval and its index in the time series.
Parameters
date
The date to find the closest interval to.
Returns the interval closest to the provided date within the time series.
An object containing the closest interval and its index in the time series.
The date to find the closest interval to.