Instance Method

intersects(_:)

Indicates whether this interval intersects the specified interval.

Declaration

func intersects(_ dateInterval: DateInterval) -> Bool

See Also

Determining Intersections

func intersection(with: DateInterval) -> DateInterval?

Returns an interval that represents the interval where the given date interval and the current instance intersect.