closestInterval

Returns the interval closest to the provided date within the time series.

Parameters

date
  • The date to find the closest interval to.