Function: addToRange()
addToRange(
day
,range
?):DateRange
|undefined
Add a day to an existing range.
The returned range takes in account the undefined
values and if the added
day is already present in the range.
Parameters​
Parameter | Type |
---|---|
day | Date |
range ? | DateRange |
Returns​
DateRange
| undefined