Function: icalendar-recur-tzname-on

icalendar-recur-tzname-on is a byte-compiled function defined in icalendar-recur.el.gz.

Signature

(icalendar-recur-tzname-on DT VTIMEZONE)

Documentation

Return the name of the time zone observance in effect on DT in VTIMEZONE.

DT should be an icalendar-date or icalendar-date-time. VTIMEZONE should be the icalendar-vtimezone component in which to interpret DT.

The observance in effect on DT within VTIMEZONE is computed. The returned value is the value of the icalendar-tzname property of this observance.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-recur.el.gz
(defun icr:tzname-on (dt vtimezone)
  "Return the name of the time zone observance in effect on DT in VTIMEZONE.

DT should be an `icalendar-date' or `icalendar-date-time'.  VTIMEZONE
should be the `icalendar-vtimezone' component in which to interpret DT.

The observance in effect on DT within VTIMEZONE is computed.  The
returned value is the value of the `icalendar-tzname' property of this
observance."
  (when-let* ((obs/onset (icr:tz-observance-on dt vtimezone))
              (observance (car obs/onset)))
    (ical:with-property-of observance 'ical:tzname)))