DateTimeInterval.toCommonIntervals Method
Reduces two sets of possible intervals to one representing the greatest common intervals.
This method is static.
Parameters
- intervals1
-
Type: Array
ElementType: DateTimeInterval
An array of intervals whose instances may be modified.
- intervals2
-
Type: Array
ElementType: DateTimeInterval
An array of intervals whose instances may be modified.
Return Value
Type: Array
ElementType: DateTimeInterval
An array of one or two common intervals.