Function: icalendar-date/time-in-period-p
icalendar-date/time-in-period-p is a byte-compiled function defined in
icalendar-utils.el.gz.
Signature
(icalendar-date/time-in-period-p DT PERIOD &optional VTIMEZONE)
Documentation
Return non-nil if DT occurs within PERIOD.
DT can be an icalendar-date or icalendar-date-time value. PERIOD
should be an icalendar-period value. VTIMEZONE, if given, is passed
to icalendar-period-end to compute the end time of the period if it
was not specified explicitly.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-utils.el.gz
(defun ical:date/time-in-period-p (dt period &optional vtimezone)
"Return non-nil if DT occurs within PERIOD.
DT can be an `icalendar-date' or `icalendar-date-time' value. PERIOD
should be an `icalendar-period' value. VTIMEZONE, if given, is passed
to `icalendar-period-end' to compute the end time of the period if it
was not specified explicitly."
(and (ical:date/time<= (ical:period-start period) dt)
(ical:date/time< dt (ical:period-end period vtimezone))))