Function: holiday-islamic-new-year

holiday-islamic-new-year is a byte-compiled function defined in cal-islam.el.gz.

Signature

(holiday-islamic-new-year)

Documentation

Holiday entry for the Islamic New Year, if visible in the calendar window.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-islam.el.gz
;;;###holiday-autoload
(defun holiday-islamic-new-year ()
  "Holiday entry for the Islamic New Year, if visible in the calendar window."
  (mapcar
   (lambda (entry)
     (let* ((date (car entry))
            (m (calendar-extract-month date))
            (y (calendar-extract-year date)))
       (list date
             (format "Islamic New Year %d"
                     (calendar-extract-year
                      (calendar-islamic-from-absolute
                       (calendar-absolute-from-gregorian
                        (list m (calendar-last-day-of-month m y) y))))))))
   (holiday-islamic 1 1 "")))