Function: date-leap-year-p

date-leap-year-p is an autoloaded and byte-compiled function defined in time-date.el.gz.

Signature

(date-leap-year-p YEAR)

Documentation

Return t if YEAR is a leap year.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
;;;###autoload
(defun date-leap-year-p (year)
  "Return t if YEAR is a leap year."
  (or (and (zerop (% year 4))
	   (not (zerop (% year 100))))
      (zerop (% year 400))))