Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/calendar/cal-hebrew.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.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\313& \207" [require calendar custom-declare-variable diary-hebrew-sabbath-candles-minutes 18 "Number of minutes before sunset for sabbath candle lighting.\nUsed by `diary-hebrew-sabbath-candles'." :group diary :type integer :version "21.1"] 10)
#@49 Non-nil if YEAR is a Hebrew calendar leap year.
(defalias 'calendar-hebrew-leap-year-p #[(year) "\301_T\302\246\301W\207" [year 7 19] 2 (#$ . 715)])
#@45 The last month of the Hebrew calendar YEAR.
(defalias 'calendar-hebrew-last-month-of-year #[(year) "\301!\203 \302\207\303\207" [year calendar-hebrew-leap-year-p 13 12] 2 (#$ . 871)])
#@106 Days to mean conjunction of Tishri of Hebrew YEAR.
Measured from Sunday before start of Hebrew calendar.
(defalias 'calendar-hebrew-elapsed-days #[(year) "\306\307S\310\245_\311S\310\246_\312S\310\246_T\310\245#\313\314 \315\246_\\\306\316\311 _\314 \315\245_\n\315\245$\315\317\246_\n\315\246\\\306\320\321 _\317\245#\f\322Y\204r
\312\246\323U\203] \f\324Y\203] \325!\203r
\312\246\320U\203w \f\326Y\203w \325S!\203w
T\202x
\211\312\246\327\330\316E>\203\213 T\202\215 .\207" [year months-elapsed parts-elapsed hours-elapsed parts day + 235 19 12 7 204 793 1080 5 24 1 29 19440 2 9924 calendar-hebrew-leap-year-p 16789 0 3 alternative-day] 7 (#$ . 1064)])
#@32 Number of days in Hebrew YEAR.
(defalias 'calendar-hebrew-days-in-year #[(year) "\301T!\301!Z\207" [year calendar-hebrew-elapsed-days] 3 (#$ . 1750)])
#@44 Non-nil if Heshvan is long in Hebrew YEAR.
(defalias 'calendar-hebrew-long-heshvan-p #[(year) "\301!\302\246\303U\207" [year calendar-hebrew-days-in-year 10 5] 2 (#$ . 1909)])
#@44 Non-nil if Kislev is short in Hebrew YEAR.
(defalias 'calendar-hebrew-short-kislev-p #[(year) "\301!\302\246\303U\207" [year calendar-hebrew-days-in-year 10 3] 2 (#$ . 2092)])
#@32 The last day of MONTH in YEAR.
(defalias 'calendar-hebrew-last-day-of-month #[(month year) "\302\303\304\305\306\257>\2040 \307U\203 \310 !\2030 \311U\203$ \312 !\2030 \313U\2032 \314 !\2032 \315\207\316\207" [month year 2 4 6 10 13 12 calendar-hebrew-leap-year-p 8 calendar-hebrew-long-heshvan-p 9 calendar-hebrew-short-kislev-p 29 30] 6 (#$ . 2275)])
#@143 Absolute date of Hebrew DATE.
The absolute date is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC.
(defalias 'calendar-hebrew-to-absolute #[(date) "\211@\262\211A@\262\3068\262\307\n\310W\203V \310\311\211\312 !X\2036 \f\313
\"\\
T\211\202! \f*\314\311\211W\203P \f\313
\"\\
T\211\202= \f*\\\202p \310\311\211W\203n \f\313
\"\\
T\211\202[ \f*\315 !\316$+\207" [date year day month sum m 2 + 7 0 calendar-hebrew-last-month-of-year calendar-hebrew-last-day-of-month 1 calendar-hebrew-elapsed-days -1373429] 8 (#$ . 2641)])
#@186 Compute the Hebrew date (month day year) corresponding to absolute DATE.
The absolute date is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC.
(defalias 'calendar-hebrew-from-absolute #[(date) "\306!\307 \3108\262\\\311 \211@\262SH\312\313\314\nTE!Y\203( \nT\202 \315\n!\316\312\317\n\"\nE!V\203D \f\246T\202. \312\314\nE!ZT
\nE-\207" [date greg-date year month length day calendar-gregorian-from-absolute 3760 2 [9 10 11 12 1 2 3 4 7 7 7 8] calendar-hebrew-to-absolute 7 1 calendar-hebrew-last-month-of-year nil calendar-hebrew-last-day-of-month] 6 (#$ . 3240)])
#@74 Array of strings giving the names of the Hebrew months in a common year.
(defconst calendar-hebrew-month-name-array-common-year ["Nisan" "Iyar" "Sivan" "Tammuz" "Av" "Elul" "Tishri" "Heshvan" "Kislev" "Teveth" "Shevat" "Adar"] (#$ . 3873))
#@72 Array of strings giving the names of the Hebrew months in a leap year.
(defconst calendar-hebrew-month-name-array-leap-year ["Nisan" "Iyar" "Sivan" "Tammuz" "Av" "Elul" "Tishri" "Heshvan" "Kislev" "Teveth" "Shevat" "Adar I" "Adar II"] (#$ . 4119))
#@156 String of Hebrew date before sunset of Gregorian DATE.
Defaults to today's date if DATE is not given.
Driven by the variable `calendar-date-display-form'.
(defalias 'calendar-hebrew-date-string #[(&optional date) "\305\206 \306 \211\3078\262\310\311U\203 \312\313!\202Z\311V\203\220 S\262\314\211\211@\262\211A@\262\3078\262\315S_\\\307V\203{ \211\316\317_\\\320\245Z\262\211\311W\203\\ \321!S\262\211\317\246\311U\205r \211\322\246\311U?\206r \211\323\246\311U\262\203{ \211T\262\266\203\262\324_\317\245\322\245[\323\245%\202Z\321T!\262\325\211\211@\262\211A@\262\3078\262\315S_\\\307V\203\355 \211\316\317_\\\320\245Z\262\211\311W\203\316 \321!S\262\211\317\246\311U\205\344 \211\322\246\311U?\206\344 \211\323\246\311U\262\203\355 \211T\262\266\203\262\324_\317\245\322\245[\323\245\326\211\211@\262\211A@\262\3078\262\315S_\\\307V\203T\211\316\317_\\\320\245Z\262\211\311W\2035\321!S\262\211\317\246\311U\205K\211\322\246\311U?\206K\211\323\246\311U\262\203T\211T\262\266\203\262&\266\203!\327 \3078\262!\203m\n\202n\330 \310\331#*\207" [date hebrew-date calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year calendar-month-name-array calendar-hebrew-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) calendar-hebrew-leap-year-p calendar-date-string t] 19 (#$ . 4374)])
#@67 Show the Hebrew calendar equivalent of the date under the cursor.
(defalias 'calendar-hebrew-print-date #[nil "\300\301\302\303\304!!\"\207" [message "Hebrew date (until sunset): %s" calendar-hebrew-date-string calendar-cursor-to-date t] 5 (#$ . 5851) nil])
#@71 Absolute date of the anniversary of Hebrew DEATH-DATE in Hebrew YEAR.
(defalias 'calendar-hebrew-yahrzeit #[(death-date year) "\211A@\262\211@\262\3058\262\n\306U\2031 \307U\2031 \310 T!\2041 \311\312\313\fE!S\202\200 \n\312U\203N \307U\203N \314 T!\203N \311\315\313\fE!S\202\200 \n\316U\203_ \311\317\f!\fE!\202\200 \307U\203z \n\320U\203z \321\f!\204z \311\322\307\fE!\202\200 \311\n\fE!+\207" [death-date death-year death-month death-day year 2 8 30 calendar-hebrew-long-heshvan-p calendar-hebrew-to-absolute 9 1 calendar-hebrew-short-kislev-p 10 13 calendar-hebrew-last-month-of-year 12 calendar-hebrew-leap-year-p 11] 5 (#$ . 6115)])
#@91 Interactively read the arguments for a Hebrew date command.
Reads a year, month, and day.
(defalias 'calendar-hebrew-read-date #[nil "\306 \307\310\311\312\313\211\3148\262\315\316U\203 \317\320!\202\\\316V\203\222 S\262\321\211\211@\262\211A@\262\3148\262\322S_\\\314V\203} \211\323\324_\\\325\245Z\262\211\316W\203^ \326!S\262\211\324\246\316U\205t \211\327\246\316U?\206t \211\330\246\316U\262\203} \211T\262\266\203\262\331_\324\245\327\245[\330\245%\202\\\326T!\262\332\211\211@\262\211A@\262\3148\262\322S_\\\314V\203\357 \211\323\324_\\\325\245Z\262\211\316W\203\320 \326!S\262\211\324\246\316U\205\346 \211\327\246\316U?\206\346 \211\330\246\316U\262\203\357 \211T\262\266\203\262\331_\324\245\327\245[\330\245\333\211\211@\262\211A@\262\3148\262\322S_\\\314V\203V\211\323\324_\\\325\245Z\262\211\316W\2037\326!S\262\211\324\246\316U\205M\211\327\246\316U?\206M\211\330\246\316U\262\203V\211T\262\266\203\262&\266\203!\3148\262!#\334 !\203q\n\202r\335\336\337\340\341\342\343\f\315\"\" \344U\205\206\345\335$\346\f\347\"\335#A-\350- \". \344U\203\251-\325U\203\251\351\202\252\347/\307\352\353/.#\354\"0-0 E.C\207" [today year calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year month-array completion-ignore-case calendar-current-date calendar-read "Hebrew calendar year (>3760): " #[(x) "\301V\207" [x 3760] 2] number-to-string calendar-hebrew-from-absolute 2 nil 0 user-error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) calendar-hebrew-leap-year-p t assoc-string completing-read "Hebrew calendar month name: " mapcar list append 3761 #[(x) "\304@\305 !\306#A\307\310\n\311\n\"E!W)\207" [x month-array m year assoc-string calendar-make-alist t 0 calendar-hebrew-to-absolute calendar-hebrew-last-day-of-month] 6] calendar-make-alist 1 calendar-hebrew-last-day-of-month 18 format "Hebrew calendar day (%d-%d): " #[(x) " X\205 \nX\207" [first x last] 2] month last first day] 23 (#$ . 6776)])
#@72 Move cursor to Hebrew DATE; echo Hebrew date unless NOECHO is non-nil.
(defalias 'calendar-hebrew-goto-date #[(date &optional noecho) "\302\303\304!!!\210 \206 \305 \207" [date noecho calendar-goto-date calendar-gregorian-from-absolute calendar-hebrew-to-absolute calendar-hebrew-print-date] 4 (#$ . 8855) (calendar-hebrew-read-date)])
#@113 Return non-nil if Hebrew MONTH DAY is visible in the calendar window.
Returns the corresponding Gregorian date.
(defalias 'calendar-hebrew-date-is-visible-p #[(month day) "\303 W\203
\303Z\202 T\304 W\203 \304Z\202 \305\\\306 W\203* \306Z\202- \307\\\310 W\2039 \310Z\202<