Companion
object Companion
Functions
Link copied to clipboard
Parses an iCalendar resource and applies ICalPreprocessor to increase compatibility.
Link copied to clipboard
Minifies a VTIMEZONE so that only these observances are kept:
Link copied to clipboard
Validates an iCalendar resource.
Link copied to clipboard
Takes a string with a timezone definition and returns the time zone ID.
Link copied to clipboard
fun vAlarmToMin(alarm: VAlarm, refStart: DtStart?, refEnd: DateProperty?, refDuration: Duration?, allowRelEnd: Boolean): Pair<Related, Int>?
Calculates the minutes before/after an event/task a given alarm occurs.
Link copied to clipboard
Extends the given PRODID with the user agents (typically calendar app name and version). This way the PRODID does not only identify the app that actually produces the iCalendar, but also the used front-end app, which may be helpful when debugging the iCalendar.