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