Mercurial > emacs
annotate lisp/calendar/cal-julian.el @ 94338:0fd94280462b
(Translation of Characters): Fix previous change.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 24 Apr 2008 22:34:19 +0000 |
parents | bf9ef749c23e |
children | e49abd957e81 |
rev | line source |
---|---|
38422
7a94f1c588c4
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
24189
diff
changeset
|
1 ;;; cal-julian.el --- calendar functions for the Julian calendar |
13053 | 2 |
92608
18dc9ef91100
(calendar-absolute-from-julian): Use zerop.
Glenn Morris <rgm@gnu.org>
parents:
92587
diff
changeset
|
3 ;; Copyright (C) 1995, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
18dc9ef91100
(calendar-absolute-from-julian): Use zerop.
Glenn Morris <rgm@gnu.org>
parents:
92587
diff
changeset
|
4 ;; 2008 Free Software Foundation, Inc. |
13053 | 5 |
6 ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu> | |
67465
a55ee709ec8d
Update copyright pending Emacs 22.
Glenn Morris <rgm@gnu.org>
parents:
65145
diff
changeset
|
7 ;; Maintainer: Glenn Morris <rgm@gnu.org> |
13053 | 8 ;; Keywords: calendar |
9 ;; Human-Keywords: Julian calendar, Julian day number, calendar, diary | |
10 | |
11 ;; This file is part of GNU Emacs. | |
12 | |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
14 ;; it under the terms of the GNU General Public License as published by | |
78216
93e11478c954
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
77279
diff
changeset
|
15 ;; the Free Software Foundation; either version 3, or (at your option) |
13053 | 16 ;; any later version. |
17 | |
18 ;; GNU Emacs is distributed in the hope that it will be useful, | |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 ;; GNU General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
14169 | 24 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 ;; Boston, MA 02110-1301, USA. | |
13053 | 27 |
28 ;;; Commentary: | |
29 | |
93482
103d07c67833
(Commentary): Point to calendar.el.
Glenn Morris <rgm@gnu.org>
parents:
93447
diff
changeset
|
30 ;; See calendar.el. |
20462
d179de7ad92e
Add reference to new Calendrical Calculations book.
Paul Eggert <eggert@twinsun.com>
parents:
17380
diff
changeset
|
31 |
13053 | 32 ;;; Code: |
33 | |
34 (require 'calendar) | |
35 | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
36 (defun calendar-julian-to-absolute (date) |
92912 | 37 "The number of days elapsed between the Gregorian date 12/31/1 BC and DATE. |
38 The Gregorian date Sunday, December 31, 1 BC is imaginary." | |
93809
3ff2b47de8f2
Update for calendar.el name changes.
Glenn Morris <rgm@gnu.org>
parents:
93783
diff
changeset
|
39 (let ((month (calendar-extract-month date)) |
3ff2b47de8f2
Update for calendar.el name changes.
Glenn Morris <rgm@gnu.org>
parents:
93783
diff
changeset
|
40 (year (calendar-extract-year date))) |
92912 | 41 (+ (calendar-day-number date) |
42 (if (and (zerop (% year 100)) | |
43 (not (zerop (% year 400))) | |
44 (> month 2)) | |
45 1 0) ; correct for Julian but not Gregorian leap year | |
46 (* 365 (1- year)) | |
47 (/ (1- year) 4) | |
48 -2))) | |
49 | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
50 (define-obsolete-function-alias 'calendar-absolute-from-julian |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
51 'calendar-julian-to-absolute "23.1") |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
52 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
53 ;;;###cal-autoload |
13053 | 54 (defun calendar-julian-from-absolute (date) |
55 "Compute the Julian (month day year) corresponding to the absolute DATE. | |
56 The absolute date is the number of days elapsed since the (imaginary) | |
57 Gregorian date Sunday, December 31, 1 BC." | |
92819 | 58 (let* ((approx (/ (+ date 2) 366)) ; approximation from below |
59 (year ; search forward from the approximation | |
13053 | 60 (+ approx |
61 (calendar-sum y approx | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
62 (>= date (calendar-julian-to-absolute |
92912 | 63 (list 1 1 (1+ y)))) |
64 1))) | |
92819 | 65 (month ; search forward from January |
13053 | 66 (1+ (calendar-sum m 1 |
92912 | 67 (> date |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
68 (calendar-julian-to-absolute |
92912 | 69 (list m |
70 (if (and (= m 2) (zerop (% year 4))) | |
71 29 | |
72 (aref [31 28 31 30 31 30 31 | |
73 31 30 31 30 31] | |
74 (1- m))) | |
75 year))) | |
76 1))) | |
92819 | 77 (day ; calculate the day by subtraction |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
78 (- date (1- (calendar-julian-to-absolute (list month 1 year)))))) |
13053 | 79 (list month day year))) |
80 | |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
81 ;;;###cal-autoload |
13053 | 82 (defun calendar-julian-date-string (&optional date) |
83 "String of Julian date of Gregorian DATE. | |
84 Defaults to today's date if DATE is not given. | |
85 Driven by the variable `calendar-date-display-form'." | |
86 (calendar-date-string | |
87 (calendar-julian-from-absolute | |
92912 | 88 (calendar-absolute-from-gregorian (or date (calendar-current-date)))) |
13053 | 89 nil t)) |
90 | |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
91 ;;;###cal-autoload |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
92 (defun calendar-julian-print-date () |
13053 | 93 "Show the Julian calendar equivalent of the date under the cursor." |
94 (interactive) | |
95 (message "Julian date: %s" | |
96 (calendar-julian-date-string (calendar-cursor-to-date t)))) | |
97 | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
98 (define-obsolete-function-alias 'calendar-print-julian-date |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
99 'calendar-julian-print-date "23.1") |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
100 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
101 ;;;###cal-autoload |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
102 (defun calendar-julian-goto-date (date &optional noecho) |
92912 | 103 "Move cursor to Julian DATE; echo Julian date unless NOECHO is non-nil." |
13053 | 104 (interactive |
105 (let* ((today (calendar-current-date)) | |
106 (year (calendar-read | |
107 "Julian calendar year (>0): " | |
92587
267241a78df9
Unquote lambda functions. Add autoload cookies to functions formerly
Glenn Morris <rgm@gnu.org>
parents:
79703
diff
changeset
|
108 (lambda (x) (> x 0)) |
93844
bf9ef749c23e
Replace int-to-string with number-to-string.
Glenn Morris <rgm@gnu.org>
parents:
93809
diff
changeset
|
109 (number-to-string |
93809
3ff2b47de8f2
Update for calendar.el name changes.
Glenn Morris <rgm@gnu.org>
parents:
93783
diff
changeset
|
110 (calendar-extract-year |
13053 | 111 (calendar-julian-from-absolute |
112 (calendar-absolute-from-gregorian | |
113 today)))))) | |
114 (month-array calendar-month-name-array) | |
115 (completion-ignore-case t) | |
54076
9e3e3d184730
(calendar-goto-julian-date): Use assoc-string instead of
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
116 (month (cdr (assoc-string |
92912 | 117 (completing-read |
118 "Julian calendar month name: " | |
119 (mapcar 'list (append month-array nil)) | |
120 nil t) | |
54076
9e3e3d184730
(calendar-goto-julian-date): Use assoc-string instead of
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
121 (calendar-make-alist month-array 1) t))) |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
38422
diff
changeset
|
122 (last |
13053 | 123 (if (and (zerop (% year 4)) (= month 2)) |
124 29 | |
125 (aref [31 28 31 30 31 30 31 31 30 31 30 31] (1- month)))) | |
126 (day (calendar-read | |
127 (format "Julian calendar day (%d-%d): " | |
128 (if (and (= year 1) (= month 1)) 3 1) last) | |
92587
267241a78df9
Unquote lambda functions. Add autoload cookies to functions formerly
Glenn Morris <rgm@gnu.org>
parents:
79703
diff
changeset
|
129 (lambda (x) |
92912 | 130 (and (< (if (and (= year 1) (= month 1)) 2 0) x) |
131 (<= x last)))))) | |
13053 | 132 (list (list month day year)))) |
133 (calendar-goto-date (calendar-gregorian-from-absolute | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
134 (calendar-julian-to-absolute date))) |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
135 (or noecho (calendar-julian-print-date))) |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
136 |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
137 (define-obsolete-function-alias 'calendar-goto-julian-date |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
138 'calendar-julian-goto-date "23.1") |
13053 | 139 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
140 ;;;###holiday-autoload |
13053 | 141 (defun holiday-julian (month day string) |
92819 | 142 "Holiday on MONTH, DAY (Julian) called STRING. |
13053 | 143 If MONTH, DAY (Julian) is visible, the value returned is corresponding |
144 Gregorian date in the form of the list (((month day year) STRING)). Returns | |
145 nil if it is not visible in the current calendar window." | |
93496
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
146 (let ((gdate (calendar-nongregorian-visible-p |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
147 month day 'calendar-julian-to-absolute |
93496
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
148 'calendar-julian-from-absolute |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
149 ;; In the Gregorian case, we'd use the lower year when |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
150 ;; month >= 11. In the Julian case, there is an offset |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
151 ;; of two weeks (ie 1 Nov Greg = 19 Oct Julian). So we |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
152 ;; use month >= 10, since it can't cause any problems. |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
153 (lambda (m) (< m 10))))) |
cdfc8242a666
(holiday-julian): Use calendar-nongregorian-visible-p.
Glenn Morris <rgm@gnu.org>
parents:
93482
diff
changeset
|
154 (if gdate (list (list gdate string))))) |
13053 | 155 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
156 ;;;###cal-autoload |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
157 (defun calendar-astro-to-absolute (d) |
13673
da11ffac4f8b
(calendar-absolute-from-astro): Doc fix.
Paul Eggert <eggert@twinsun.com>
parents:
13053
diff
changeset
|
158 "Absolute date of astronomical (Julian) day number D." |
13053 | 159 (- d 1721424.5)) |
160 | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
161 (define-obsolete-function-alias 'calendar-absolute-from-astro |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
162 'calendar-astro-to-absolute "23.1") |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
163 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
164 ;;;###cal-autoload |
13053 | 165 (defun calendar-astro-from-absolute (d) |
166 "Astronomical (Julian) day number of absolute date D." | |
167 (+ d 1721424.5)) | |
168 | |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
169 ;;;###cal-autoload |
13053 | 170 (defun calendar-astro-date-string (&optional date) |
171 "String of astronomical (Julian) day number after noon UTC of Gregorian DATE. | |
172 Defaults to today's date if DATE is not given." | |
93844
bf9ef749c23e
Replace int-to-string with number-to-string.
Glenn Morris <rgm@gnu.org>
parents:
93809
diff
changeset
|
173 (number-to-string |
13053 | 174 (ceiling |
175 (calendar-astro-from-absolute | |
92912 | 176 (calendar-absolute-from-gregorian (or date (calendar-current-date))))))) |
13053 | 177 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
178 ;;;###cal-autoload |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
179 (defun calendar-astro-print-day-number () |
92819 | 180 "Show astronomical (Julian) day number after noon UTC on cursor date." |
13053 | 181 (interactive) |
182 (message | |
15069
6237f2b08205
Spelling error.
Edward M. Reingold <reingold@emr.cs.iit.edu>
parents:
14169
diff
changeset
|
183 "Astronomical (Julian) day number (at noon UTC): %s.0" |
13053 | 184 (calendar-astro-date-string (calendar-cursor-to-date t)))) |
185 | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
186 (define-obsolete-function-alias 'calendar-print-astro-day-number |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
187 'calendar-astro-print-day-number "23.1") |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
188 |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
189 ;;;###cal-autoload |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
190 (defun calendar-astro-goto-day-number (daynumber &optional noecho) |
13053 | 191 "Move cursor to astronomical (Julian) DAYNUMBER. |
92912 | 192 Echo astronomical (Julian) day number unless NOECHO is non-nil." |
13053 | 193 (interactive (list (calendar-read |
194 "Astronomical (Julian) day number (>1721425): " | |
92587
267241a78df9
Unquote lambda functions. Add autoload cookies to functions formerly
Glenn Morris <rgm@gnu.org>
parents:
79703
diff
changeset
|
195 (lambda (x) (> x 1721425))))) |
13053 | 196 (calendar-goto-date |
197 (calendar-gregorian-from-absolute | |
198 (floor | |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
199 (calendar-astro-to-absolute daynumber)))) |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
200 (or noecho (calendar-astro-print-day-number))) |
13053 | 201 |
93636
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
202 (define-obsolete-function-alias 'calendar-goto-astro-day-number |
f5d39ae0db5b
(calendar-julian-to-absolute): Rename calendar-absolute-from-julian.
Glenn Morris <rgm@gnu.org>
parents:
93496
diff
changeset
|
203 'calendar-astro-goto-day-number "23.1") |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
204 |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
205 (defvar date) |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
206 |
93783 | 207 ;; To be called from diary-list-sexp-entries, where DATE is bound. |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
208 ;;;###diary-autoload |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
209 (defun diary-julian-date () |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
210 "Julian calendar equivalent of date diary entry." |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
211 (format "Julian date: %s" (calendar-julian-date-string date))) |
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
212 |
93783 | 213 ;; To be called from diary-list-sexp-entries, where DATE is bound. |
92834
3e0b7b9e8f11
(diary-julian-date): Move to end.
Glenn Morris <rgm@gnu.org>
parents:
92819
diff
changeset
|
214 ;;;###diary-autoload |
13053 | 215 (defun diary-astro-day-number () |
216 "Astronomical (Julian) day number diary entry." | |
17380
ba0844956fde
(diary-astro-day-number): Change format string.
Richard M. Stallman <rms@gnu.org>
parents:
15069
diff
changeset
|
217 (format "Astronomical (Julian) day number at noon UTC: %s.0" |
13053 | 218 (calendar-astro-date-string date))) |
219 | |
220 (provide 'cal-julian) | |
221 | |
92587
267241a78df9
Unquote lambda functions. Add autoload cookies to functions formerly
Glenn Morris <rgm@gnu.org>
parents:
79703
diff
changeset
|
222 ;; arch-tag: 0520acdd-1c60-4188-9aa8-9b8c24d856ae |
13053 | 223 ;;; cal-julian.el ends here |