Function: calendar-bahai-nawruz

calendar-bahai-nawruz is a byte-compiled function defined in cal-bahai.el.gz.

Signature

(calendar-bahai-nawruz YEAR)

Documentation

Absolute date of Naw-Rúz (New Year) for Bahá’í YEAR.

For years before 172 BE, uses fixed March 21. For years from 172 BE onwards, uses astronomical calculation of vernal equinox.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-bahai.el.gz
(defun calendar-bahai-nawruz (year)
  "Absolute date of Naw-Rúz (New Year) for Bahá’í YEAR.
For years before 172 BE, uses fixed March 21.
For years from 172 BE onwards, uses astronomical calculation of vernal equinox."
  (if (< year calendar-bahai-reform-year)
      ;; Pre-reform: Naw-Rúz is always March 21
      ;; Year N starts in Gregorian year 1843 + N
      (calendar-absolute-from-gregorian (list 3 21 (+ year 1843)))
    ;; Post-reform: Calculate from vernal equinox
    (let ((greg-year (+ year 1843)))
      (calendar-absolute-from-gregorian
       (calendar-bahai-nawruz-for-gregorian-year greg-year)))))