DxSchedulerTimeSpanRange.Union(DxSchedulerTimeSpanRange, DxSchedulerTimeSpanRange) Method

Returns the time interval that is composed of two specified time intervals.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

public static DxSchedulerTimeSpanRange Union(
    DxSchedulerTimeSpanRange x,
    DxSchedulerTimeSpanRange y
)

Parameters

Name Type Description
x DxSchedulerTimeSpanRange

The first interval to be united.

y DxSchedulerTimeSpanRange

The second interval to be united.

Returns

Type Description
DxSchedulerTimeSpanRange

The interval that is a union of two specified intervals.

Remarks

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

See Also