%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) #@503 The number of days elapsed between the Gregorian date 12/31/1 BC and DATE. The `ISO year' corresponds approximately to the Gregorian year, but weeks start on Monday and end on Sunday. The first week of the ISO year is the first such week in which at least 4 days are in a year. The ISO commercial DATE has the form (week day year) in which week is in the range 1..52 and day is in the range 0..6 (1 = Monday, 2 = Tuesday, ..., 0 = Sunday). The Gregorian date Sunday, December 31, 1 BC is imaginary. (defalias 'calendar-iso-to-absolute #[(date) "\211A@)\306\307\310\311\310\211\3128)E\211\3128)\313\211\314U\203* \315\316!\202e\314V\203\236 S\306\211\211@)\211A@)\3128) \fS\317_\\\f\312V\203\213 \320\f\321_\\\322\245Z\211\314W\203n \323!S\321\246\314U\205\204 \324\246\314U?\206\204 \325\246\314U)\203\213 T -\n\326_\n\321\245\n\324\245[\n\325\245%\202e\323T!\327\211\211@)\211A@)\3128) \fS\317_\\\f\312V\203\373 \320\f\321_\\\322\245Z\211\314W\203\336 \323!S\321\246\314U\205\364 \324\246\314U?\206\364 \325\246\314U)\203\373 T -\n\326_\n\321\245\n\324\245[\n\325\245\330\211\330@)\211A@)\3128) \fS\317_\\\f\312V\203a \320\f\321_\\\322\245Z\211\314W\203D\323!S\321\246\314U\205Z\324\246\314U?\206Z\325\246\314U)\203a T -&+\\\"\211@)S\331_ \314U\203z\332\202| S#)\207" [date day offset-years year month day-of-year + calendar-dayname-on-or-before 1 3 2 nil 0 user-error "There was no year zero" 31 23 4 10 abs 100 400 365 - (12 31 -1) 7 6] 15 (#$ . 431)]) #@549 Compute the `ISO commercial date' corresponding to the absolute DATE. The ISO year corresponds approximately to the Gregorian year, but weeks start on Monday and end on Sunday. The first week of the ISO year is the first such week in which at least 4 days are in a year. The ISO commercial date has the form (week day year) in which week is in the range 1..52 and day is in the range 0..6 (1 = Monday, 2 = Tuesday, ..., 0 = Sunday). The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-iso-from-absolute #[(date) "\305\306Z!\3078)\211\211\310\311\312\211TE!Y\203% \nTT\202 \n*\\\311\312\211\fE!Z\313\245T\313\246\fE*\207" [date approx sum y year calendar-gregorian-from-absolute 3 2 0 calendar-iso-to-absolute 1 7] 7 (#$ . 1991)]) #@54 String of ISO date of Gregorian DATE, default today. (defalias 'calendar-iso-date-string #[(&optional date) "\206 \306 \211\3078)\310\211\311U\203 \312\313!\202W\n\311V\203\220 \nS\314\211\211@)\211A@)\3078)\fS\315_\\\307V\203} \316\317_\\\320\245Z\n\211\311W\203` \321\n!S\n\317\246\311U\205v \n\322\246\311U?\206v \n\323\246\311U)\203} T - \324_ \317\245 \322\245[ \323\245%\202W\321\nT!\325\211\211@)\211A@)\3078)\fS\315_\\\307V\203\355 \316\317_\\\320\245Z\n\211\311W\203\320 \321\n!S\n\317\246\311U\205\346 \n\322\246\311U?\206\346 \n\323\246\311U)\203\355 T - \324_ \317\245 \322\245[ \323\245\326\211\326@)\211A@)\3078)\fS\315_\\\307V\203S \316\317_\\\320\245Z\n\211\311W\2036\321\n!S\n\317\246\311U\205L\n\322\246\311U?\206L\n\323\246\311U)\203S T -&+\211\327\246\330!\331\332\f\311U\203p\327\202q\f\211@)\3078)$+\207" [date offset-years year month day day-of-year calendar-current-date 2 nil 0 user-error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) 7 calendar-iso-from-absolute format "Day %s of week %d of %d" d iso-date] 11 (#$ . 2825)]) #@57 Show equivalent ISO date for the date under the cursor. (defalias 'calendar-iso-print-date #[nil "\300\301\302\303\304!!\"\207" [message "ISO date: %s" calendar-iso-date-string calendar-cursor-to-date t] 5 (#$ . 3997) nil]) #@141 Interactively read the arguments for an ISO date command. Reads a year and week, and if DAYFLAG is non-nil a day (otherwise taken to be 1). (defalias 'calendar-iso-read-date #[(&optional dayflag) "\306\307\310\311\312 \3138)!#\314\315\316\211\317 TE\211\3138)\320\211\321U\203, \322\323!\202g \321V\203\240 S\324\211\211@)\211A@)\3138)\fS\325_\\\313V\203\215 \326\317_\\\327\245Z \211\321W\203p \330 !S \317\246\321U\205\206 \331\246\321U?\206\206 \332\246\321U)\203\215 T -\n\333_\n\317\245\n\331\245[\n\332\245%\202g\330 T!\334\211\211@)\211A@)\3138)\fS\325_\\\313V\203\375 \326\317_\\\327\245Z \211\321W\203\340 \330 !S \317\246\321U\205\366 \331\246\321U?\206\366 \332\246\321U)\203\375 T -\n\333_\n\317\245\n\331\245[\n\332\245\335\211\335@)\211A@)\3138)\fS\325_\\\313V\203c \326\317_\\\327\245Z \211\321W\203F\330 !S \317\246\321U\205\\ \331\246\321U?\206\\ \332\246\321U)\203c T -&+\"S!\211@)#\306\336\337#\"\340\"$%\203\207\306\341\342\"\202\210\316$\f E,C\207" [date year offset-years month day day-of-year calendar-read "ISO calendar year (>0): " #[(x) "\301V\207" [x 0] 2] number-to-string calendar-current-date 2 calendar-iso-from-absolute calendar-dayname-on-or-before 1 4 nil 0 user-error "There was no year zero" + 31 23 10 abs 100 400 365 - (12 31 -1) format "ISO calendar week (1-%d): " #[(x) "\302V\205 X\207" [x no-weeks 0] 2] "ISO day (1-7): " #[(x) "\301X\205 \302X\207" [x 1 7] 2] no-weeks week dayflag] 14 (#$ . 4228)]) #@66 Move cursor to ISO DATE; echo ISO date unless NOECHO is non-nil. (defalias 'calendar-iso-goto-date #[(date &optional noecho) "\302\303\304!!!\210 \206 \305 \207" [date noecho calendar-goto-date calendar-gregorian-from-absolute calendar-iso-to-absolute calendar-iso-print-date] 4 (#$ . 5777) (calendar-iso-read-date t)]) #@126 Move cursor to ISO DATE; echo ISO date unless NOECHO is non-nil. Interactively, goes to the first day of the specified week. (defalias 'calendar-iso-goto-week #[(date &optional noecho) "\302\303\304!!!\210 \206 \305 \207" [date noecho calendar-goto-date calendar-gregorian-from-absolute calendar-iso-to-absolute calendar-iso-print-date] 4 (#$ . 6106) (calendar-iso-read-date)]) #@46 ISO calendar equivalent of date diary entry. (defalias 'diary-iso-date #[nil "\301\302\303!\"\207" [date format "ISO date: %s" calendar-iso-date-string] 4 (#$ . 6492)]) (provide 'cal-iso)