Function: icalendar-make-period
icalendar-make-period is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar-make-period START &key END DURATION)
Documentation
Make an icalendar-period value.
START and END (if given) should be icalendar-date-time values.
DURATION, if given, should be an icalendar-dur-value. It is an error
to pass both END and DURATION, or neither.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(cl-defun ical:make-period (start &key end duration)
"Make an `icalendar-period' value.
START and END (if given) should be `icalendar-date-time' values.
DURATION, if given, should be an `icalendar-dur-value'. It is an error
to pass both END and DURATION, or neither."
(when (and end duration)
(signal 'wrong-type-argument (list end duration)))
(unless (or end duration)
(signal 'wrong-type-argument (list end duration)))
(list start end duration))