Skip to content

Instance Method

intersects(_:)

iOS 10.0+ iPadOS 10.0+ Mac Catalyst 10.0+ macOS 10.12+ tvOS 10.0+ watchOS 3.0+
Indicates whether this interval intersects the specified interval.
func intersects(_ dateInterval: DateInterval) -> Bool