DateTimeRange.Union(DateTimeRange, DateTimeRange) Method
In This Article
Returns a datetime range which is composed of the two given time ranges.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
public static DateTimeRange Union(
DateTimeRange x,
DateTimeRange y
)
#Parameters
Name | Type | Description |
---|---|---|
x | Date |
A Date |
y | Date |
A Date |
#Returns
Type | Description |
---|---|
Date |
A Date |
#Remarks
The DateTimeRange.Start value of the resulting DateTimeRange is set to the DateTimeRange.Start time of the range which starts first. The DateTimeRange.End is set to the DateTimeRange.End time of the range that ends last.
See Also