Liking cljdoc? Tell your friends :D

clj-icalendar.core


add-event!clj

(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
raw docstring

create-all-day-eventclj

(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 
raw docstring

create-calclj

(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 
raw docstring

create-eventclj

(create-event start
              end
              title
              &
              {:keys [unique-id description url location organizer] :as all})

create-event-no-durationclj

(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
raw docstring

output-calendarclj

(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.
raw docstring

parse-icsclj

(parse-ics file)

Parses a .ICS file into a clojure map. 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.
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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close