DxSchedulerTimeSpanRange.Intersect(DxSchedulerTimeSpanRange) Method
Returns an interval that is the intersection of the current interval and the specified interval.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public DxSchedulerTimeSpanRange Intersect(
DxSchedulerTimeSpanRange x
)
Parameters
Name | Type | Description |
---|---|---|
x | DxSchedulerTimeSpanRange | The interval to check for intersection. |
Returns
Type | Description |
---|---|
DxSchedulerTimeSpanRange | The intersection of the current and 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