Skip to main content

TimeSpanRange.IntersectsWith(TimeSpanRange, TimeSpanRange, Boolean) Method

Checks whether the time range intersects with the two specified ranges.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

public static bool IntersectsWith(
    TimeSpanRange x,
    TimeSpanRange y,
    bool includeBounds = true
)

#Parameters

Name Type Description
x TimeSpanRange

The first range with which the intersection should be checked.

y TimeSpanRange

The second range with which the intersection should be checked.

#Optional Parameters

Name Type Default
includeBounds Boolean True

#Returns

Type Description
Boolean

true if the current range intersects with the specified range; otherwise, false.

See Also