Skip to main content

DateTimeRange.IntersectsWith(DateTimeRange, DateTimeRange, Boolean) Method

Computes the intersection of the specified ranges.

Namespace: DevExpress.Mvvm

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

NuGet Package: DevExpress.WinUI

Declaration

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

Parameters

Name Type Description
x DateTimeRange

The first range.

y DateTimeRange

The second range.

Optional Parameters

Name Type Default
includeBounds Boolean True

Returns

Type Description
Boolean

The intersection of the specified ranges.

See Also