parse

fun parse(rrule: String): Recurrence

Parse a RFC 5545 string recurrence rule and return a recurrence. Note that this method is designed to parse only the output of format.

Other recurrence rules may not parse correctly since Recurrence only supports a thin subset of the actual specification. For example if recurring yearly but not on the same day as start date, this information is lost when parsing, since yearly recurrence can only happen on the same day as start date.

Throws

If recurrence rule cannot be parsed.