Function: icalendar-import-format-sample
icalendar-import-format-sample is a byte-compiled function defined in
icalendar.el.gz.
Signature
(icalendar-import-format-sample EVENT)
Documentation
Example function for formatting an iCalendar EVENT.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
;; ======================================================================
;; Examples
;; ======================================================================
(defun icalendar-import-format-sample (event)
"Example function for formatting an iCalendar EVENT."
(format (concat "SUMMARY='%s' DESCRIPTION='%s' LOCATION='%s' ORGANIZER='%s' "
"STATUS='%s' URL='%s' CLASS='%s'")
(or (icalendar--get-event-property event 'SUMMARY) "")
(or (icalendar--get-event-property event 'DESCRIPTION) "")
(or (icalendar--get-event-property event 'LOCATION) "")
(or (icalendar--get-event-property event 'ORGANIZER) "")
(or (icalendar--get-event-property event 'STATUS) "")
(or (icalendar--get-event-property event 'URL) "")
(or (icalendar--get-event-property event 'CLASS) "")))