Function: icalendar-date-time=
icalendar-date-time= is a byte-compiled function defined in
icalendar-utils.el.gz.
Signature
(icalendar-date-time= DT1 DT2)
Documentation
Return non-nil if DT1 and DT2 are decoded-times with identical slot values.
Note that this function returns nil if DT1 and DT2 represent times in
different time zones, even if they are simultaneous. For the latter, see
icalendar-date-time-simultaneous-p.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-utils.el.gz
;; Two different notions of equality are relevant to decoded times:
;; strict equality (`icalendar-date-time=') of all slots, or
;; simultaneity (`icalendar-date-time-simultaneous-p').
;; Most tests probably want the strict notion, because it distinguishes
;; between simultaneous events decoded into different time zones,
;; whereas most user-facing functions (e.g. sorting events by date and time)
;; probably want simultaneity.
(defun ical:date-time= (dt1 dt2)
"Return non-nil if DT1 and DT2 are decoded-times with identical slot values.
Note that this function returns nil if DT1 and DT2 represent times in
different time zones, even if they are simultaneous. For the latter, see
`icalendar-date-time-simultaneous-p'."
(equal dt1 dt2))