pub fn read_calendar(input: &str) -> Result<Calendar<'_>, String>
Expand description
Parse iCalendar file content into an array of Component
s
This version produces nice and readable errors with line numbers thanks the the awesomeness of nom
.
Line numbers are in regard to the normalized/unfolded version of the input, so better keep those around for reference.