%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
;ELC ;;; Compiled ;;; in Emacs version 25.2.1 ;;; 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"] (#$ . 430)) (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 (#$ . 697)) #@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 (#$ . 827)]) #@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 (#$ . 1065)]) #@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@)\211A@)\3068) \307W\203. \310\n\311 \312\"TE!\313 \312\"\314_\\\202x \315\fS S\316_\313 \317\\\312\"\320_\313\311 \317\\\312\"\321\"\322_\313\311\211 \317\\\312\"\321\"\320_\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 floor 1029983 + 365 2345 683 768 186 -568 1 calendar-persian-last-day-of-month m] 12 (#$ . 1324)]) #@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\"\313 \315\"\316\307\311\316\317_\320_\317#\312\"#*\316\n\320_\f\321_\322U\203R S\202T \310$\211\307W\203d S\202f .\207" [date d0 n2820 d1 n768 d2 calendar-persian-to-absolute 1 -2345 floor 1029983 mod 280506 366 + 2137 2820 768 1029617 b a n1 year] 9 (#$ . 1991)]) #@217 Compute the Persian equivalent for absolute date DATE. The result is a list of the form (MONTH DAY YEAR). The absolute date is the number of days elapsed since the imaginary Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-persian-from-absolute #[(date) "\306!\307\310\311\312 \" E!V\203 \nTT\202 \n*T\311\f\307 E!SZ\f E+\207" [date year sum m month day calendar-persian-year-from-absolute 1 0 calendar-persian-to-absolute calendar-persian-last-day-of-month] 6 (#$ . 2473)]) #@58 String of Persian date of Gregorian DATE, default today. (defalias 'calendar-persian-date-string #[(&optional date) "\306\206 \307 \211\3108)\311\211\312U\203 \313\314!\202X\n\312V\203\221 \nS\315\211\211@)\211A@)\3108)\fS\316_\\\310V\203~ \317\320_\\\321\245Z\n\211\312W\203a \322\n!S\n\320\246\312U\205w \n\323\246\312U?\206w \n\324\246\312U)\203~ T - \325_ \320\245 \323\245[ \324\245%\202X\322\nT!\326\211\211@)\211A@)\3108)\fS\316_\\\310V\203\356 \317\320_\\\321\245Z\n\211\312W\203\321 \322\n!S\n\320\246\312U\205\347 \n\323\246\312U?\206\347 \n\324\246\312U)\203\356 T - \325_ \320\245 \323\245[ \324\245\327\211\327@)\211A@)\3108)\fS\316_\\\310V\203T \317\320_\\\321\245Z\n\211\312W\2037\322\n!S\n\320\246\312U\205M\n\323\246\312U?\206M\n\324\246\312U)\203T T -&+!\211\3108)\211@)SH \330\211A@)!\330!\330!\311!\331\332\"\333#.\207" [date offset-years year month day day-of-year calendar-persian-from-absolute calendar-current-date 2 nil 0 user-error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) number-to-string mapconcat eval "" persian-date y m calendar-persian-month-name-array monthname dayname calendar-date-display-form] 12 (#$ . 2983)]) #@60 Show the Persian calendar equivalent of the selected date. (defalias 'calendar-persian-print-date #[nil "\300\301\302\303\304!!\"\207" [message "Persian date: %s" calendar-persian-date-string calendar-cursor-to-date t] 5 (#$ . 4270) nil]) #@92 Interactively read the arguments for a Persian date command. Reads a year, month, and day. (defalias 'calendar-persian-read-date #[nil "\306\307\310\311\312\313 \211\3148)\315\211\316U\203 \317\320!\202X\n\316V\203\221 \nS\321\211\211@)\211A@)\3148)\fS\322_\\\314V\203~ \323\324_\\\325\245Z\n\211\316W\203a \326\n!S\n\324\246\316U\205w \n\327\246\316U?\206w \n\330\246\316U)\203~ T - \331_ \324\245 \327\245[ \330\245%\202X\326\nT!\332\211\211@)\211A@)\3148)\fS\322_\\\314V\203\356 \323\324_\\\325\245Z\n\211\316W\203\321 \326\n!S\n\324\246\316U\205\347 \n\327\246\316U?\206\347 \n\330\246\316U)\203\356 T - \331_ \324\245 \327\245[ \330\245\333\211\333@)\211A@)\3148)\fS\322_\\\314V\203T \323\324_\\\325\245Z\n\211\316W\2037\326\n!S\n\324\246\316U\205M\n\327\246\316U?\206M\n\330\246\316U)\203T T -&+!\3148)!#\334)\335\336\337\340\341\342*\315\"\"\315\334$\343*\344\"\"A\345\n\"+\306\346\347+\"\350\"\f\nE-C\207" [date offset-years year month day day-of-year calendar-read "Persian calendar year (not 0): " #[(x) "\301U?\207" [x 0] 2] number-to-string calendar-persian-from-absolute calendar-current-date 2 nil 0 user-error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) t assoc completing-read "Persian calendar month name: " mapcar list append calendar-make-alist 1 calendar-persian-last-day-of-month format "Persian calendar day (1-%d): " #[(x) "\302W\205 X\207" [x last 0] 2] completion-ignore-case calendar-persian-month-name-array last] 16 (#$ . 4515)]) #@79 Move cursor to Persian date DATE. Echo Persian date unless NOECHO is non-nil. (defalias 'calendar-persian-goto-date #[(date &optional noecho) "\302\303\304!!!\210 \206 \305 \207" [date noecho calendar-goto-date calendar-gregorian-from-absolute calendar-persian-to-absolute calendar-persian-print-date] 4 (#$ . 6095) (calendar-persian-read-date)]) #@50 Persian calendar equivalent of date diary entry. (defalias 'diary-persian-date #[nil "\301\302\303!\"\207" [date format "Persian date: %s" calendar-persian-date-string] 4 (#$ . 6450)]) (provide 'cal-persia)