Function: icalendar-recur-tz-for
icalendar-recur-tz-for is a byte-compiled function defined in
icalendar-recur.el.gz.
Signature
(icalendar-recur-tz-for TZID VTIMEZONES)
Documentation
Return the icalendar-vtimezone for the TZID.
VTIMEZONES should be a list of icalendar-vtimezone components. TZID
should be a time zone identifier, as found e.g. in an
icalendar-tzidparam parameter. The first time zone in VTIMEZONES whose
icalendar-tzid value matches this parameter's value is returned.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-recur.el.gz
(defun icr:tz-for (tzid vtimezones)
"Return the `icalendar-vtimezone' for the TZID.
VTIMEZONES should be a list of `icalendar-vtimezone' components. TZID
should be a time zone identifier, as found e.g. in an
`icalendar-tzidparam' parameter. The first time zone in VTIMEZONES whose
`icalendar-tzid' value matches this parameter's value is returned."
(catch 'found
(dolist (tz vtimezones)
(ical:with-component tz
((ical:tzid :value tzidval))
(when (equal tzidval tzid)
(throw 'found tz))))))