(add-event! cal vevent)
take a calendar and a vevent, add the event to the calendar, and return the calendar
take a calendar and a vevent, add the event to the calendar, and return the calendar
(create-all-day-event start
title
&
{:keys [unique-id description url location organizer]
:as all})
create a vevent with start date and title. the time portion of the start date will be truncated. Optionally, one can pass in keyword args for unique-id, description, url, and location. vevent is returned
create a vevent with start date and title. the time portion of the start date will be truncated. Optionally, one can pass in keyword args for unique-id, description, url, and location. vevent is returned
(create-cal org-name product version lang & rest)
create an empty calendar container. it is assumed to be Gregorian ical 2.0 and a published calendar
create an empty calendar container. it is assumed to be Gregorian ical 2.0 and a published calendar
(create-event start
end
title
&
{:keys [unique-id description url location organizer] :as all})
(create-event-no-duration start
title
&
{:keys [unique-id description url location organizer]
:as all})
create and return a vevent based on input params. The start date is a date with time, and since there is no end date specified, this event blocks no time on the calendar. Optional keyword parameters are unique-id, description, url, and location
create and return a vevent based on input params. The start date is a date with time, and since there is no end date specified, this event blocks no time on the calendar. Optional keyword parameters are unique-id, description, url, and location
(output-calendar cal)
output the calendar to a string, using a folding writer, which will limit the line lengths as per ical spec.
output the calendar to a string, using a folding writer, which will limit the line lengths as per ical spec.
(parse-ics file)
Parses a .ICS file into a clojure map. file can be a path or url. There is a key :components, which is a list of maps, each map representing an event. On the top level, general data of the calendar is found.
Parses a .ICS file into a clojure map. file can be a path or url. There is a key :components, which is a list of maps, each map representing an event. On the top level, general data of the calendar is found.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close