Function: icalendar-match-period-value
icalendar-match-period-value is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar-match-period-value S)
Documentation
Match string S against rx icalendar-period.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(ical:define-type ical:period "PERIOD"
"Type for Period values.
A period of time is specified as a starting date-time together
with either an explicit date-time as its end, or a duration which
gives its length and implicitly marks its end.
When printed, the starting date-time is separated from the end or
duration by a / character.
When read, a period is represented as a list (START END DUR), where
START is an `icalendar-date-time', END is either an
`icalendar-date-time' or nil, and DUR is either an `icalendar-dur-value'
or nil. See the functions `icalendar-make-period',
`icalendar-period-start', `icalendar-period-end', and
`icalendar-period-dur-value' to work with period values."
'(satisfies ical:period-p)
(seq (group-n 11 ical:date-time)
"/"
(or (group-n 12 ical:date-time)
(group-n 13 ical:dur-value)))
:reader ical:read-period
:printer ical:print-period
:link "https://www.rfc-editor.org/rfc/rfc5545#section-3.3.9")