Back to Devexpress

DxSchedulerTimeSpanRange.Intersect(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) Method

blazor-devexpress-dot-blazor-dot-dxschedulertimespanrange-dot-intersect-x28-devexpress-dot-blazor-dot-dxschedulertimespanrange-devexpress-dot-blazor-dot-dxschedulertimespanrange-x29.md

latest1.7 KB
Original Source

DxSchedulerTimeSpanRange.Intersect(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) Method

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public static DxSchedulerTimeSpanRange Intersect(
    DxSchedulerTimeSpanRange x,
    DxSchedulerTimeSpanRange y
)

Parameters

NameTypeDescription
xDxSchedulerTimeSpanRange

The first interval within the day.

| | y | DxSchedulerTimeSpanRange |

The second interval within the day.

|

Returns

TypeDescription
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

DxSchedulerTimeSpanRange Class

DxSchedulerTimeSpanRange Members

DevExpress.Blazor Namespace