Function: icalendar--convert-all-timezones

icalendar--convert-all-timezones is a byte-compiled function defined in icalendar.el.gz.

Signature

(icalendar--convert-all-timezones ICALENDAR)

Documentation

Convert all timezones in the ICALENDAR into an alist.

Each element of the alist is a cons (ID . TZ-STRING), like icalendar--parse-vtimezone.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defun icalendar--convert-all-timezones (icalendar)
  "Convert all timezones in the ICALENDAR into an alist.
Each element of the alist is a cons (ID . TZ-STRING),
like `icalendar--parse-vtimezone'."
  (let (result)
    (dolist (zone (icalendar--get-children (car icalendar) 'VTIMEZONE))
      (setq zone (icalendar--parse-vtimezone zone))
      (if zone
	  (setq result (cons zone result))))
    result))