Skip to main content

DateTimeRange.Union(DateTimeRange, DateTimeRange) Method

Computes the union of the specified ranges.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

Declaration

public static DateTimeRange Union(
    DateTimeRange x,
    DateTimeRange y
)

Parameters

Name Type Description
x DateTimeRange

The first range.

y DateTimeRange

The second range.

Returns

Type Description
DateTimeRange

The union of the date-time ranges.

Remarks

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

See Also