parse
Parses the given iCalendar as lenient as possible and applies some error correction:
The input stream from is preprocessed with ICalPreprocessor.preprocessStream.
The parsed calendar is preprocessed with ICalPreprocessor.preprocessCalendar.
Parameters
reader
where the iCalendar is read from
Throws
when the resource is can't be parsed