MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 13.59.22.238
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/calendar/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/calendar/cal-islam.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:28 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calendar/cal-islam.el
;;; in Emacs version 24.3.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)
#@58 Array of strings giving the names of the Islamic months.
(defconst calendar-islamic-month-name-array ["Muharram" "Safar" "Rabi I" "Rabi II" "Jumada I" "Jumada II" "Rajab" "Sha'ban" "Ramadan" "Shawwal" "Dhu al-Qada" "Dhu al-Hijjah"] (#$ . 581))
(autoload 'calendar-julian-to-absolute "cal-julian")
#@72 Absolute date of start of Islamic calendar = July 16, 622 AD (Julian).
(defconst calendar-islamic-epoch 227015 (#$ . 884))
#@58 Return t if YEAR is a leap year on the Islamic calendar.
(defalias 'calendar-islamic-leap-year-p #[(year) "\301\246\302\303\304\305\306\307\310\311\312\313\314\257>\207" [year 30 2 5 7 10 13 16 18 21 24 26 29] 12 (#$ . 1013)])
#@60 The last day in MONTH during YEAR on the Islamic calendar.
(defalias 'calendar-islamic-last-day-of-month #[(month year) "\302\303\304\305\306\307\257>\203\310\207\311\312\313\314\315\257>\203\316\207\317	!\203%\310\207\316\207" [month year 1 3 5 7 9 11 30 2 4 6 8 10 29 calendar-islamic-leap-year-p] 7 (#$ . 1248)])
#@65 Return the day number within the year of the Islamic date DATE.
(defalias 'calendar-islamic-day-number #[(date) "\211@)\303	\304\245\305_	S\304\245\306_\211\211A@*#)\207" [date month x + 2 30 29] 5 (#$ . 1579)])
#@144 Absolute date of Islamic DATE.
The absolute date is the number of days elapsed since the (imaginary)
Gregorian date Sunday, December 31, 1 BC.
(defalias 'calendar-islamic-to-absolute #[(date) "\211@)\211\211A@*\3068)\211\307\246\211\310W\203$\311\202
\312W\203.\313\202
\314W\2038\306\202
\315W\203B\310\202
\316W\203L\317\202
\320W\203V\321\202
\322W\203`\312\202
\323W\203j\324\202
\325W\203t\314\202
\326W\203~\327\202\330\331\332!\fS\333_\f\307\245\315_S%-\207" [date month x day year y 2 30 3 0 6 1 8 11 14 4 17 5 19 22 7 25 27 9 10 + calendar-islamic-day-number 354 leap-years-in-cycle calendar-islamic-epoch] 7 (#$ . 1804)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias calendar-absolute-from-islamic calendar-islamic-to-absolute nil make-obsolete "23.1"] 4)
#@187 Compute the Islamic 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-islamic-from-absolute #[(date) "	W\203\306\211\211E\207	Z\307\245\211\211\306\310\311\211\fTE!Y\203+T\fT\202*\\\311\306\310\312
\"
E!V\203OTT\2024*T\f\310\f\311
E!SZ
\f

E,\207" [date calendar-islamic-epoch approx sum y year 0 355 calendar-islamic-to-absolute 1 calendar-islamic-last-day-of-month m month day] 7 (#$ . 2647)])
#@206 String of Islamic date before sunset of Gregorian DATE.
Returns the empty string if DATE is pre-Islamic.
Defaults to today's date if DATE is not given.
Driven by the variable `calendar-date-display-form'.
(defalias 'calendar-islamic-date-string #[(&optional date) "\306	\206\307 \211\310	8)\311\312!\203\313\314!\202w\315V\203\234S\316	\211\211@)	\211\211A@*	\310	8)\fS\317_\\\f\310V\203\210\320\f\321_\\\322\245Z\211\315W\203i\323!S\312\321\246!\205\312\324\246!?\206\312\325\246!)\203\210T-\n\326_\n\321\245\n\324\245[\n\325\245%\202w\323T!\327	\211\211@)	\211\211A@*	\310	8)\fS\317_\\\f\310V\203\320\f\321_\\\322\245Z\211\315W\203\343\323!S\312\321\246!\205\371\312\324\246!?\206\371\312\325\246!)\203T-\n\326_\n\321\245\n\324\245[\n\325\245\330\211\330@)	\211\211A@*	\310	8)\fS\317_\\\f\310V\203r\320\f\321_\\\322\245Z\211\315W\203S\323!S\312\321\246!\205i\312\324\246!?\206i\312\325\246!)\203rT-&+! \310	8)\331W\203\215\332\202\223\333\311\334#*\207" [calendar-islamic-month-name-array date offset-years year month x calendar-islamic-from-absolute calendar-current-date 2 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) 1 "" calendar-date-string t day day-of-year islamic-date calendar-month-name-array] 13 (#$ . 3225)])
#@68 Show the Islamic calendar equivalent of the date under the cursor.
(defalias 'calendar-islamic-print-date #[nil "\301\302\303!!\211\304\230\203\305\306!\202\305\307\")\207" [i calendar-islamic-date-string calendar-cursor-to-date t "" message "Date is pre-Islamic" "Islamic date (until sunset): %s"] 4 (#$ . 4632) nil])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias calendar-print-islamic-date calendar-islamic-print-date nil make-obsolete "23.1"] 4)
#@93 Interactively read the arguments for an Islamic date command.
Reads a year, month, and day.
(defalias 'calendar-islamic-read-date #[nil "\306 \307\310\311\312\313\211\314	8)\315\316!\203\317\320!\202x\321V\203\235S\322	\211\211@)	\211\211A@**	\314	8)*\fS\323_\\+\f\314V\203\211+\324\f\325_\\\326\245Z+\211\321W\203j\327!S\316\325\246!\205\200\316\330\246!?\206\200\316\331\246!)\203\211+T++-\n\332_\n\325\245\n\330\245[\n\331\245%\202x\327T!\333	\211\211@)	\211\211A@**	\314	8)*\fS\323_\\+\f\314V\203+\324\f\325_\\\326\245Z+\211\321W\203\344\327!S\316\325\246!\205\372\316\330\246!?\206\372\316\331\246!)\203+T++-\n\332_\n\325\245\n\330\245[\n\331\245\334\211\334@)	\211\211A@**	\314	8)*\fS\323_\\+\f\314V\203s+\324\f\325_\\\326\245Z+\211\321W\203T\327!S\316\325\246!\205j\316\330\246!?\206j\316\331\246!)\203s+T++-&+!\314	8)!#,-\335.\336\337\340\341\342\343-\315\"\"\315\335$\344-\345\"\335#A\346\f\"/\307\347\350/\"\351\"*\f*E.C\207" [today date offset-years year month x calendar-current-date calendar-read "Islamic calendar year (>0): " #[(x) "\301V\207" [x 0] 2] number-to-string calendar-islamic-from-absolute 2 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) t assoc-string completing-read "Islamic calendar month name: " mapcar list append calendar-make-alist 1 calendar-islamic-last-day-of-month format "Islamic calendar day (1-%d): " #[(x) "\302W\205		X\207" [x last 0] 2] day day-of-year calendar-islamic-month-name-array month-array completion-ignore-case last] 16 (#$ . 5114)])
#@74 Move cursor to Islamic DATE; echo Islamic date unless NOECHO is non-nil.
(defalias 'calendar-islamic-goto-date #[(date &optional noecho) "\302\303\304!!!\210	\206\305 \207" [date noecho calendar-goto-date calendar-gregorian-from-absolute calendar-islamic-to-absolute calendar-islamic-print-date] 4 (#$ . 6768) (calendar-islamic-read-date)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias calendar-goto-islamic-date calendar-islamic-goto-date nil make-obsolete "23.1"] 4)
#@231 Holiday on MONTH, DAY (Islamic) called STRING.
If MONTH, DAY (Islamic) is visible, returns the corresponding
Gregorian date as the list (((month day year) STRING)).
Returns nil if it is not visible in the current calendar window.
(defalias 'holiday-islamic #[(month day string) "\306\307	E\211\310\n8)\311\312\f!\203\313\314!\202w\f\315V\203\232\fS\316\n\211\211@)\n\211\211!A@*\"\n\310\n8)\"
S\317_\\#
\310V\203\206#\320
\321_\\\322\245Z#\f\211\315W\203g\323\f!S\312\f\321\246!\205}\312\f\324\246!?\206}\312\f\325\246!)\203\206#T##-\326_\321\245\324\245[\325\245%\202w\323\fT!\327\n\211\211@)\n\211\211!A@*\"\n\310\n8)\"
S\317_\\#
\310V\203#\320
\321_\\\322\245Z#\f\211\315W\203\342\323\f!S\312\f\321\246!\205\370\312\f\324\246!?\206\370\312\f\325\246!)\203#T##-\326_\321\245\324\245[\325\245\330\211\330@)\n\211\211!A@*\"\n\310\n8)\"
S\317_\\#
\310V\203r#\320
\321_\\\322\245Z#\f\211\315W\203S\323\f!S\312\f\321\246!\205i\312\f\324\246!?\206i\312\f\325\246!)\203r#T##-&+!\211$\211@)%$\310\n8)&\311%\331W?\205\332\311'(&\315W\203\247&T&\316&(_%\333\322
Z$'\334'(\"T%'(\245&'\315W\203\331%\331V\203\331&S&&\331W\203\345&S&*%\335V\205\336\337\340
\"&E!!\211!\205\n)DC,\207" [displayed-month displayed-year date offset-years year month calendar-islamic-from-absolute 15 2 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) 1 12 -1 mod 7 calendar-date-is-visible-p calendar-gregorian-from-absolute calendar-islamic-to-absolute x day day-of-year islamic-date m y macro-y nmonths string] 12 (#$ . 7268)])
#@76 Holiday entry for the Islamic New Year, if visible in the calendar window.
(defalias 'holiday-islamic-new-year #[nil "\306\307\211\310#\211@@)	\n\211\205M
\311\312\313\314\"#\315W\203%T\316#_\f\317\307$\"\320\"#\"T\"#\245\"\315W\203N\f\307V\203NS\307W\203WS*\321\f\211$\211%\322U\203\230$\211$\315W\203w\323$!S$\324$\325\246!\205\220\324$\326\246!?\206\220\324$\327\246!)\203\230\330\202\235\331%SH*E\211\322
8)\314&$\324$!\203\271\332\333!\202C$\315V\203J$S&\316
\211\211@)%
\211\211A@*'
\322
8)$'%S\334_\\(%\322V\2032(\335%\325_\\\336\245Z($\211$\315W\203\323$!S$\324$\325\246!\205)\324$\326\246!?\206)\324$\327\246!)\2032(T((-&\337_&\325\245&\326\245[&\327\245%\202C\323$T!&\340
\211\211@)%
\211\211A@*'
\322
8)$'%S\334_\\(%\322V\203\276(\335%\325_\\\336\245Z($\211$\315W\203\234\323$!S$\324$\325\246!\205\265\324$\326\246!?\206\265\324$\327\246!)\203\276(T((-&\337_&\325\245&\326\245[&\327\245\341\211\341@)%
\211\211A@*'
\322
8)$'%S\334_\\(%\322V\203>(\335%\325_\\\336\245Z($\211$\315W\203\323$!S$\324$\325\246!\2055\324$\326\246!?\2065\324$\327\246!)\203>(T((-&+!\322
8)\"DC+\207" [x displayed-month displayed-year y m date holiday-islamic 1 "" format "Islamic New Year %d" 12 nil 0 + -1 mod calendar-islamic-from-absolute 2 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] error "There was no year zero" 31 23 10 365 - (12 31 -1) macro-y nmonths year month offset-years day day-of-year] 15 (#$ . 8942)])
(autoload 'diary-list-entries-1 "diary-lib")
#@633 Add any Islamic date entries from the diary file to `diary-entries-list'.
Islamic date diary entries must be prefaced by `diary-islamic-entry-symbol'
(normally an `I').  The same `diary-date-forms' govern the style
of the Islamic calendar entries, except that the Islamic month
names cannot be abbreviated.  The Islamic months are numbered
from 1 to 12 with Muharram being 1 and 12 being Dhu al-Hijjah.
If an Islamic date diary entry begins with `diary-nonmarking-symbol',
the entry will appear in the diary listing, but will not be
marked in the calendar.  This function is provided for use with
`diary-nongregorian-listing-hook'.
(defalias 'diary-islamic-list-entries #[nil "\302	\303#\207" [calendar-islamic-month-name-array diary-islamic-entry-symbol diary-list-entries-1 calendar-islamic-from-absolute] 4 (#$ . 10580)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\310\"\207" [defalias list-islamic-diary-entries diary-islamic-list-entries nil make-obsolete "23.1" autoload calendar-mark-1 "diary-lib"] 4)
#@196 Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR.
A value of 0 in any position is a wildcard.  Optional argument COLOR is
passed to `calendar-mark-visible-date' as MARK.
(defalias 'calendar-islamic-mark-date-pattern #[(month day year &optional color) "\304	\n\305\306&\207" [month day year color calendar-mark-1 calendar-islamic-from-absolute calendar-islamic-to-absolute] 7 (#$ . 11617)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\310\"\207" [defalias mark-islamic-calendar-date-pattern calendar-islamic-mark-date-pattern nil make-obsolete "23.1" autoload diary-mark-entries-1 "diary-lib"] 4)
#@213 Mark days in the calendar window that have Islamic date diary entries.
Marks each entry in `diary-file' (or included files) visible in the calendar
window.  See `diary-islamic-list-entries' for more information.
(defalias 'diary-islamic-mark-entries #[nil "\302\303	\304$\207" [calendar-islamic-month-name-array diary-islamic-entry-symbol diary-mark-entries-1 calendar-islamic-mark-date-pattern calendar-islamic-from-absolute] 5 (#$ . 12267)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\310\"\207" [defalias mark-islamic-diary-entries diary-islamic-mark-entries nil make-obsolete "23.1" autoload diary-insert-entry-1 "diary-lib"] 4)
#@138 Insert a diary entry.
For the Islamic date corresponding to the date indicated by point.
Prefix argument ARG makes the entry nonmarking.
(defalias 'diary-islamic-insert-entry #[(arg) "\303\304	\n\305%\207" [arg calendar-islamic-month-name-array diary-islamic-entry-symbol diary-insert-entry-1 nil calendar-islamic-from-absolute] 6 (#$ . 12928) "P"])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias insert-islamic-diary-entry diary-islamic-insert-entry nil make-obsolete "23.1"] 4)
#@158 Insert a monthly diary entry.
For the day of the Islamic month corresponding to the date indicated by point.
Prefix argument ARG makes the entry nonmarking.
(defalias 'diary-islamic-insert-monthly-entry #[(arg) "\303\304	\n\305%\207" [arg calendar-islamic-month-name-array diary-islamic-entry-symbol diary-insert-entry-1 monthly calendar-islamic-from-absolute] 6 (#$ . 13435) "P"])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias insert-monthly-islamic-diary-entry diary-islamic-insert-monthly-entry nil make-obsolete "23.1"] 4)
#@157 Insert an annual diary entry.
For the day of the Islamic year corresponding to the date indicated by point.
Prefix argument ARG makes the entry nonmarking.
(defalias 'diary-islamic-insert-yearly-entry #[(arg) "\303\304	\n\305%\207" [arg calendar-islamic-month-name-array diary-islamic-entry-symbol diary-insert-entry-1 yearly calendar-islamic-from-absolute] 6 (#$ . 13990) "P"])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias insert-yearly-islamic-diary-entry diary-islamic-insert-yearly-entry nil make-obsolete "23.1"] 4)
#@50 Islamic calendar equivalent of date diary entry.
(defalias 'diary-islamic-date #[nil "\302!\211\303\230\203\304\202\305\306	\")\207" [date i calendar-islamic-date-string "" "Date is pre-Islamic" format "Islamic date (until sunset): %s"] 4 (#$ . 14539)])
(provide 'cal-islam)

MMCT - 2023