Server IP : 111.118.215.189 / Your IP : 3.135.236.62 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 ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:27 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calendar/cal-dst.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\301&\210\311\312\313\314\315\316\317\320\310\303& \210\321\322\323\313#\210\311\322\324\325\315\326\310\303&\210\321\327\323\313#\210\311\327\330\331\315\326\310\303&\207" [require calendar custom-declare-group calendar-dst nil "Options related to Daylight Saving Time." :prefix "calendar-" :group custom-declare-variable calendar-dst-check-each-year-flag t "Non-nil means to check each year for DST transitions as needed.\nOtherwise assume the next two transitions found after the\ncurrent date apply to all years. This is faster, but not always\ncorrect, since the dates of daylight saving transitions sometimes\nchange." :type boolean :version "22.1" put calendar-daylight-savings-starts risky-local-variable '(calendar-dst-starts year) "Sexp giving the date on which daylight saving time starts.\nThis is an expression in the variable `year' whose value gives the Gregorian\ndate in the form (month day year) on which daylight saving time starts. It is\nused to determine the starting date of daylight saving time for the holiday\nlist and for correcting times of day in the solar and lunar calculations.\n\nFor example, if daylight saving time is mandated to start on October 1,\nyou would set `calendar-daylight-savings-starts' to\n\n '(10 1 year)\n\nIf it starts on the first Sunday in April, you would set it to\n\n '(calendar-nth-named-day 1 0 4 year)\n\nIf the locale never uses daylight saving time, set this to nil." sexp calendar-daylight-savings-ends '(calendar-dst-ends year) "Sexp giving the date on which daylight saving time ends.\nThis is an expression in the variable `year' whose value gives the Gregorian\ndate in the form (month day year) on which daylight saving time ends. It is\nused to determine the starting date of daylight saving time for the holiday\nlist and for correcting times of day in the solar and lunar calculations.\n\nFor example, if daylight saving time ends on the last Sunday in October:\n\n '(calendar-nth-named-day -1 0 10 year)\n\nIf the locale never uses daylight saving time, set this to nil."] 10) #@51 Cache for result of `calendar-current-time-zone'. (defvar calendar-current-time-zone-cache nil (#$ . 2682)) (put 'calendar-current-time-zone-cache 'risky-local-variable t) #@49 Absolute date of starting date of system clock. (defvar calendar-system-time-basis (byte-code "\306\211\3078)\310\311\n!\203 \312\313!\202j\n\314V\203\223 \nS\315\211\211@)\211\211A@*\3078) S\316_\\\307V\203 \317\320_\\\321\245Z\n\211\314W\203` \322\n!S\311\n\320\246!\205v \311\n\323\246!?\206v \311\n\324\246!)\203 T- \325_ \320\245 \323\245[ \324\245%\202j\322\nT!\326\211\211@)\211\211A@*\3078) S\316_\\\307V\203\367 \317\320_\\\321\245Z\n\211\314W\203\330 \322\n!S\311\n\320\246!\205\356 \311\n\323\246!?\206\356 \311\n\324\246!)\203\367 T- \325_ \320\245 \323\245[ \324\245\327\211\327@)\211\211A@*\3078) S\316_\\\307V\203e\317\320_\\\321\245Z\n\211\314W\203F\322\n!S\311\n\320\246!\205\\\311\n\323\246!?\206\\\311\n\324\246!)\203eT-&+\207" [date offset-years year month x day (1 1 1970) 2 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) day-of-year] 11) (#$ . 2860)) #@389 Absolute local date of time X; local time is UTC-DIFF seconds from UTC. X is (HIGH . LOW) or (HIGH LOW . IGNORED) where HIGH and LOW are the high and low 16 bits, respectively, of the number of seconds since 1970-01-01 00:00:00 UTC, ignoring leap seconds. Returns the pair (ABS-DATE . SECONDS) where SECONDS after local midnight on absolute date ABS-DATE is the equivalent moment to X. (defalias 'calendar-absolute-from-time #[(x utc-diff) "@A\n\247\203 \n\202 \n@\\\306 \307\"\310_\311\f\312\"\\\313\f\311 \307\"\310_\311 \307\"#\306 \307\"\312_\306\f\312\"\\,B\207" [x h xtail utc-diff l u mod 675 512 floor 128 + calendar-system-time-basis] 6 (#$ . 3882)]) #@313 Time of absolute date ABS-DATE, S seconds after midnight. Returns the list (HIGH LOW) where HIGH and LOW are the high and low 16 bits, respectively, of the number of seconds 1970-01-01 00:00:00 UTC, ignoring leap seconds, that is the equivalent moment to S seconds after midnight UTC on absolute date ABS-DATE. (defalias 'calendar-time-from-absolute #[(abs-date s) " Z\305\n\306\"\307_\310\311\"\\\312\n\310\n\306\"\307_\310\f\306\"#\305\f\306\"\311_\305\311\"\\*D\207" [abs-date calendar-system-time-basis a s u mod 512 163 floor 128 +] 6 (#$ . 4561)]) #@183 Return the time of the next time zone transition after TIME. Both TIME and the result are acceptable arguments to `current-time-zone'. Return nil if no such transition can be found. (defalias 'calendar-next-time-zone-transition #[(time) "\306\307\310\n!\211@\311\211\f\312\f=\203: \n@@ _\\\313B\310 !\211@A\211\204 \f\205\272 \205\272 \f=?\205\272 \nA\n@\247\203\\ \202_ @B\311A A\\\314@ @\245#\315\316\"Z\317\245_\246\\\317\245B\232+\204\270 \310!@=\203\260 \202e \211\202g +.\207" [base quarter-multiple time time-zone time-utc-diff hi 65536 120 current-time-zone nil (2 1 3) 0 + logand 1 2 hi-zone hi-utc-diff quarters tail lo probe lsum hsum hsumodd] 6 (#$ . 5128)]) (autoload 'calendar-persian-to-absolute "cal-persia") #@220 Return daylight transition rule for ABS-DATE, UTC-DIFF sec offset from UTC. ABS-DATE must specify a day that contains a daylight saving transition. The result has the proper form for `calendar-daylight-savings-starts'. (defalias 'calendar-time-zone-daylight-rules #[(abs-date utc-diff) "\306!\307\246 \211@) \211\211A@* \310 8)00\2111\310U\203^ \211\311W\203= \312!S\313\314\246!\205V \313\315\246!?\206V \313\316\246!)\203^ \317\202c \3201SH*2\321\21134\322\323 \324BBBC \325W\205\205 \326\327\n\330BBBBC 2\307ZV\205\230 \326\331\n\332BBBBC\310 \333Z]S33T\2113 2\325Z^X\203\301 \326\327\n\3343\2574B4\202\240 4\335U\205\320 \336>\205\320 \337\340U\205\335 \341>\205\335 \342&5\3316Z70T\32185A\2035\3219\211:\203\366:@\2119@\326=\203\343\3449AB!\202\3229@\306=\203*\3439\211A@)!\202\322\3439!\211\310 8)\321;\313!\203G\345\346!\202\321\311V\203\330S;\347 \211\211@)1 \211\211A@*< \310 8)<1S\350_\\=1\310V\203\300=\3511\314_\\\352\245Z=\211\311W\203\236\312!S\313\314\246!\205\267\313\315\246!?\206\267\313\316\246!)\203\300=T==-;\353_;\314\245;\315\245[;\316\245%\202\321\312T!;\354 \211\211@)1 \211\211A@*< \310 8)<1S\350_\\=1\310V\203L=\3511\314_\\\352\245Z=\211\311W\203*\312!S\313\314\246!\205C\313\315\246!?\206C\313\316\246!)\203L=T==-;\353_;\314\245;\315\245[;\316\245\355\211\355@)1 \211\211A@*< \310 8)<1S\350_\\=1\310V\203\314=\3511\314_\\\352\245Z=\211\311W\203\252\312!S\313\314\246!\205\303\313\315\246!?\206\303\313\316\246!)\203\314=T==-&+\356\357 7\"!\356\357 T7\"!\232\204\35598B8:A\211:\204 *8\2038\237\2025@C5\3218T\202\357 5@.\f\207" [abs-date date weekday m x d calendar-gregorian-from-absolute 7 2 0 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] nil append list (year) 8 calendar-nth-named-day 1 (year) -1 (year) 6 year 3 (20 21) ((calendar-gregorian-from-absolute (calendar-persian-to-absolute `(1 1 ,(- year 621))))) 9 (22 23) ((calendar-gregorian-from-absolute (calendar-persian-to-absolute `(7 1 ,(- year 621))))) eval calendar-nth-named-absday error "There was no year zero" + 31 23 10 365 - (12 31 -1) current-time-zone calendar-time-from-absolute y month last j rlist candidate-rules utc-diff prevday-sec new-rules rule --dolist-tail-- offset-years day day-of-year] 11 (#$ . 5945)]) #@166 Find data on the first daylight saving time transitions after TIME. TIME defaults to `current-time'. Return value is as described for `calendar-current-time-zone'. (defalias 'calendar-dst-find-data #[(&optional time) "\206 \306 \307 !\211@\n\211A@)\204&