Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/calendar/cal-persia.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'calendar)
#@46 Names of the months in the Persian calendar.
(defconst calendar-persian-month-name-array ["Farvardin" "Ordibehest" "Xordad" "Tir" "Mordad" "Sahrivar" "Mehr" "Aban" "Azar" "Dey" "Bahman" "Esfand"] (#$ . 428))
(autoload 'calendar-julian-to-absolute "cal-julian")
#@73 Absolute date of start of Persian calendar = March 19, 622 AD (Julian).
(defconst calendar-persian-epoch 226896 (#$ . 695))
#@54 True if YEAR is a leap year on the Persian calendar.
(defalias 'calendar-persian-leap-year-p #[(year) "\301\211\211\302X\203 \303\\\202 \304\\\305\"\306\"\307_\305\"\307W\207" [year mod 0 2346 2347 2820 768 683] 5 (#$ . 825)])
#@57 Return last day of MONTH, YEAR on the Persian calendar.
(defalias 'calendar-persian-last-day-of-month #[(month year) "\302W\203 \303\207\304W\204 \305 !\203 \306\207\307\207" [month year 7 31 12 calendar-persian-leap-year-p 30 29] 2 (#$ . 1063)])
#@159 Compute absolute date from Persian date DATE.
The absolute date is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC.
(defalias 'calendar-persian-to-absolute #[(date) "\211@\262\211A@\262\3068\262 \307W\203. \310\n\311 \312\"TE!\313\314 \312\"_\\\202x \315\fS\316 S_\317\314 \320\\\312\"_\321\314\311 \320\\\312\"\322\"_\314\317\311\211 \320\\\312\"\322\"_\312\"\323\324\307\211W\203s
\325 \"\\T\211\202]
*\n&+\207" [date year day month calendar-persian-epoch sum 2 0 calendar-persian-to-absolute mod 2820 1029983 floor + 365 683 2345 186 768 -568 1 calendar-persian-last-day-of-month m] 12 (#$ . 1322)])
#@50 Persian year corresponding to the absolute DATE.
(defalias 'calendar-persian-year-from-absolute #[(date) "\306\307\211\310E!Z\311 \312\"\313 \312\"\311\314\"\313\314\"\311\315
\316\\_\312\"\317\315\n_\320\f_\321U\203: S\202<