(line)
| 17039 | return __assign(__assign({}, options[0]), options[1]); |
| 17040 | } |
| 17041 | function parseDtstart(line) { |
| 17042 | var options = {}; |
| 17043 | var dtstartWithZone = /DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(line); |
| 17044 | if (!dtstartWithZone) { |
| 17045 | return options; |
| 17046 | } |
| 17047 | var tzid = dtstartWithZone[1], dtstart = dtstartWithZone[2]; |
| 17048 | if (tzid) { |
| 17049 | options.tzid = tzid; |
| 17050 | } |
| 17051 | options.dtstart = untilStringToDate(dtstart); |
| 17052 | return options; |
| 17053 | } |
| 17054 | function parseLine(rfcString) { |
| 17055 | rfcString = rfcString.replace(/^\s+|\s+$/, ""); |
| 17056 | if (!rfcString.length) |
no test coverage detected