Function: icalendar-match-utc-offset-value

icalendar-match-utc-offset-value is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-match-utc-offset-value S)

Documentation

Match string S against rx icalendar-utc-offset.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(ical:define-type ical:utc-offset "UTC-OFFSET"
  "Type for UTC Offset values.

When printed, a sign followed by a string of digits, like +HHMM
or -HHMMSS.  When read, an integer representing the number of
seconds offset from UTC.  This representation is for compatibility
with `decode-time' and related functions."
  '(integer -999999 999999)
  (seq (or ?+ ?-) ; + is not optional for positive values!
       (= 4 digit) ; HHMM
       (zero-or-one (= 2 digit))) ; SS
  :reader ical:read-utc-offset
  :printer ical:print-utc-offset
  :link "https://www.rfc-editor.org/rfc/rfc5545#section-3.3.14")