rianjs / ical.net

ical.NET - an open source iCal library for .NET
MIT License
782 stars 230 forks source link

RDATE deserialization: Can't keep apart Periods and Dates/Times #570

Open minichma opened 1 year ago

minichma commented 1 year ago

RDATEs are represented in ical.net as PeriodList and therefore, when it comes to deserialization, the values of RDATEs are deserialized to instances of Period. According to the RFC RDATEs can hold any of the following value types "DATE-TIME" / "DATE" / "PERIOD".

Problems:

A related problem is described in #564, i.e. the duration value is lost if the time component equals midnight.