Skip to main content

TimeSpanRange.Intersect(TimeSpanRange) Method

Computes the intersection of the current range with the specified range.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

public TimeSpanRange Intersect(
    TimeSpanRange x
)

Parameters

Name Type Description
x TimeSpanRange

The range with which the intersection should be computed.

Returns

Type Description
TimeSpanRange

The intersection of the ranges. Empty if the ranges do not intersect.

Remarks

The resulting range’s Start is the Start of an initial range that begins last, and End is the End of an initial range that finishes first.

See Also