Function: icalendar-date-to-date-time

icalendar-date-to-date-time is a byte-compiled function defined in icalendar-utils.el.gz.

Signature

(icalendar-date-to-date-time DT &key (HOUR 0) (MINUTE 0) (SECOND 0) (TZ nil))

Documentation

Convert an icalendar-date value DT to an icalendar-date-time.

The following keyword arguments are accepted:
  :hour, :minute, :second - integers representing a local clock time on date DT
  :tz - an icalendar-vtimezone in which to interpret this clock time

If these arguments are all unspecified, the hour, minute, and second slots of the returned date-time will be zero, and it will contain no time zone information. See icalendar-make-date-time for more on these arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-utils.el.gz
(cl-defun ical:date-to-date-time (dt &key (hour 0) (minute 0) (second 0) (tz nil))
  "Convert an `icalendar-date' value DT to an `icalendar-date-time'.

The following keyword arguments are accepted:
  :hour, :minute, :second - integers representing a local clock time on date DT
  :tz - an `icalendar-vtimezone' in which to interpret this clock time

If these arguments are all unspecified, the hour, minute, and second
slots of the returned date-time will be zero, and it will contain no
time zone information.  See `icalendar-make-date-time' for more on these
arguments."
  (ical:make-date-time
   :year (calendar-extract-year dt)
   :month (calendar-extract-month dt)
   :day (calendar-extract-day dt)
   :hour hour
   :minute minute
   :second second
   :tz tz))