Create a new, empty calendar and returns it.
Escapes special characters in the given string
Trim line length of given string
Converts a valid date/time object supported by this library to a string.
Converts a valid date/time object supported by this library to a string. For information about this format, see RFC 5545, section 3.3.5 https://tools.ietf.org/html/rfc5545#section-3.3.5
Usually you get an ICalAlarm object like this:
Usually you get an ICalAttendee object like this:
ical-generator supports native Date, moment.js (and moment-timezone, Day.js and Luxon's DateTime objects. You can also pass a string which is then passed to javascript's Date internally.
Usually you get an ICalEvent object like this: