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