(date, collection)
| 18222 | } |
| 18223 | } |
| 18224 | function _addDate(date, collection) { |
| 18225 | if (!(date instanceof Date)) { |
| 18226 | throw new TypeError(String(date) + " is not Date instance"); |
| 18227 | } |
| 18228 | if (!includes(collection.map(Number), Number(date))) { |
| 18229 | collection.push(date); |
| 18230 | sort(collection); |
| 18231 | } |
| 18232 | } |
| 18233 | function rdatesToString(param, rdates, tzid) { |
| 18234 | var isUTC = !tzid || tzid.toUpperCase() === "UTC"; |
| 18235 | var header = isUTC ? "".concat(param, ":") : "".concat(param, ";TZID=").concat(tzid, ":"); |
no test coverage detected