Skip to main content

TimeSpanRange.Intersect(TimeSpanRange, TimeSpanRange, 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 TimeSpanRange Intersect(
    TimeSpanRange x,
    TimeSpanRange y,
    bool includeBounds = true
)

#Parameters

Name Type Description
x TimeSpanRange

The first range.

y TimeSpanRange

The second range.

#Optional Parameters

Name Type Default
includeBounds Boolean True

#Returns

Type Description
TimeSpanRange

The intersection of the specified ranges.

See Also