• Returns a new interval that is a filtered subset of this interval using the specified test function.

    Parameters

    • test: ((date) => boolean)

      A test function which is passed a date and should return true if and only if the specified date should be considered part of the interval.

        • (date): boolean
        • Parameters

          Returns boolean

    Returns TimeInterval