Function: rangeOverlaps()
rangeOverlaps(
rangeLeft
,rangeRight
,dateLib
):boolean
Determines whether a given range overlaps with another range.
Parameters
Parameter | Type | Default value |
---|---|---|
rangeLeft | { from : Date ; to : Date ; } | undefined |
rangeLeft.from | Date | undefined |
rangeLeft.to | Date | undefined |
rangeRight | { from : Date ; to : Date ; } | undefined |
rangeRight.from | Date | undefined |
rangeRight.to | Date | undefined |
dateLib | DateLib | defaultDateLib |
Returns
boolean
Since
9.2.2