Skip to main content

TimeSpanRange.IntersectsWith(TimeSpanRange, Boolean) Method

Checks whether the time range intersects with the specified range.

Namespace: DevExpress.Mvvm

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

NuGet Package: DevExpress.WinUI

Declaration

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

Parameters

Name Type Description
x TimeSpanRange

The 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 date-time range; otherwise, false.

See Also