Function: icalendar-rrule-by*
icalendar-rrule-by* is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar-rrule-by* BYUNIT RRULE)
Documentation
Return the values in the BYUNIT clause in RRULE.
BYUNIT should be a symbol: 'BYMONTH, 'BYDAY, etc.
See icalendar-rrule-value for all the possible BYUNIT values.
Other relevant functions are documented in the icalendar group.
Shortdoc
;; icalendar
(icalendar-rrule-by* 'BYDAY '((FREQ MONTHLY) (BYDAY ((5 . -1)))))
=> ((5 . -1))
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:rrule-by* (byunit rrule)
"Return the values in the BYUNIT clause in RRULE.
BYUNIT should be a symbol: \\='BYMONTH, \\='BYDAY, etc.
See `icalendar-rrule-value' for all the possible BYUNIT values."
(car (alist-get byunit rrule)))