intervalsInRange

fun intervalsInRange(start: Date, end: Date, includeStops: Boolean = true): MutableList<TimeInterval>

Returns the time intervals within the specified range for the time series. If includeStops is true, then the start and end values will be allowed in the returned set of time intervals. Default is true.

Parameters

start
  • The start of the time range.

end
  • The end of the time range.

includeStops
  • Whether to include the start and end values in the returned set of time intervals.