Function: icalendar-vtimezone-component-p
icalendar-vtimezone-component-p is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar-vtimezone-component-p NODE)
Documentation
Return non-nil if NODE represents a VTIMEZONE component.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
;; TODO: RFC7808 defines additional properties that are relevant here:
;; https://www.rfc-editor.org/rfc/rfc7808.html#section-7
(ical:define-component ical:vtimezone "VTIMEZONE"
"Represents a time zone.
A time zone is identified by an `icalendar-tzid' property, which
is required in this component. Times in other calendar components
can be specified in local time in this time zone with the
`icalendar-tzidparam' parameter. An `icalendar-vcalendar' object
must contain exactly one `icalendar-vtimezone' component for each
unique time zone identifier used in the calendar.
Besides the time zone identifier, a time zone component must
contain at least one `icalendar-standard' or `icalendar-daylight'
subcomponent, which describe the observance of standard or
daylight time in the time zone, including the dates of the
observance and the relevant offsets from UTC time."
:child-spec (:one (ical:tzid)
:zero-or-one (ical:last-modified
ical:tzurl)
:zero-or-more (ical:standard
ical:daylight
ical:other-property))
:other-validator ical:vtimezone-validator
:link "https://www.rfc-editor.org/rfc/rfc5545#section-3.6.5")