Function: icalendar-print-period

icalendar-print-period is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-print-period PER)

Documentation

Serialize an icalendar-period to a string.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:print-period (per)
  "Serialize an `icalendar-period' to a string."
  (let ((start (ical:period-start per))
        (end (ical:period-end per))
        (dur (ical:period-dur-value per)))
    (concat (ical:print-date-time start)
            "/"
            (if dur
                (ical:print-dur-value dur)
              (ical:print-date-time end)))))