Returns a new interval that is a filtered subset of this interval using the specified test function.
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.
Returns a new interval that is a filtered subset of this interval using the specified test function.