Function: icalendar--decoded-time-p
icalendar--decoded-time-p is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar--decoded-time-p VAL)
Documentation
Return non-nil if VAL is a valid decoded *time*.
This predicate does not check date-related values in VAL;
for that, see icalendar--decoded-date-time-p.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:-decoded-time-p (val)
"Return non-nil if VAL is a valid decoded *time*.
This predicate does not check date-related values in VAL;
for that, see `icalendar--decoded-date-time-p'."
(and (listp val)
(length= val 9)
(cl-typep (decoded-time-second val) 'ical:numeric-second)
(cl-typep (decoded-time-minute val) 'ical:numeric-minute)
(cl-typep (decoded-time-hour val) 'ical:numeric-hour)
(cl-typep (decoded-time-dst val) '(member t nil -1))
(cl-typep (decoded-time-zone val) '(or integer boolean))))