TimeIntervalSelector

public protocol TimeIntervalSelector

Selects time intervals to be considered within a given interval.

  • An implementation should return time intervals within a given interval. It should filter returned intervals ensuring that they intersect the input interval, and the intervals returned should not overlap.

    Declaration

    Swift

    func times(in interval: TimeRange) -> [TimeRange]