(rrule, collection)
| 18218 | return RRuleSet2; |
| 18219 | }(RRule); |
| 18220 | function _addRule(rrule, collection) { |
| 18221 | if (!(rrule instanceof RRule)) { |
| 18222 | throw new TypeError(String(rrule) + " is not RRule instance"); |
| 18223 | } |
| 18224 | if (!includes(collection.map(String), String(rrule))) { |
| 18225 | collection.push(rrule); |
| 18226 | } |
| 18227 | } |
| 18228 | function _addDate(date, collection) { |
| 18229 | if (!(date instanceof Date)) { |
| 18230 | throw new TypeError(String(date) + " is not Date instance"); |
no test coverage detected