Skip to main content

DxSchedulerTimeSpanRange.Intersect(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) Method

Returns an interval that is the intersection of two specified intervals.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public static DxSchedulerTimeSpanRange Intersect(
    DxSchedulerTimeSpanRange x,
    DxSchedulerTimeSpanRange y
)

Parameters

Name Type Description
x DxSchedulerTimeSpanRange

The first interval within the day.

y DxSchedulerTimeSpanRange

The second interval within the day.

Returns

Type Description
DxSchedulerTimeSpanRange

The intersection of two specified intervals. If these intervals do not intersect, the Empty value is returned.

Remarks

The returned interval’s Start property is set to the latest date among start dates of two intervals. The returned interval’s End property is set to the earliest date among end dates of two intervals.

See Also