fromReader

fun fromReader(reader: Reader, properties: MutableMap<String, String>? = null): Calendar

Deprecated

Use ICalendarParser directly

Parses an iCalendar resource and applies ICalPreprocessor to increase compatibility.

Return

parsed iCalendar resource

Parameters

reader

where the iCalendar is read from

properties

Known iCalendar properties (like CALENDAR_NAME) will be put into this map. Key: property name; value: property value

Throws

when the iCalendar can't be parsed