comparison lisp/calendar/cal-china.el @ 93477:92c1edaba777

(Commentary): Point to calendar.el.
author Glenn Morris <rgm@gnu.org>
date Tue, 01 Apr 2008 02:39:28 +0000
parents 648b1e67e4b5
children aa0e26f1d3ae
comparison
equal deleted inserted replaced
93476:78a65c3995aa 93477:92c1edaba777
25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 ;; Boston, MA 02110-1301, USA. 26 ;; Boston, MA 02110-1301, USA.
27 27
28 ;;; Commentary: 28 ;;; Commentary:
29 29
30 ;; This collection of functions implements the features of calendar.el, 30 ;; See calendar.el.
31 ;; diary.el, and holidays.el that deal with the Chinese calendar. The rules 31
32 ;; used for the Chinese calendar are those of Baolin Liu (see L. E. Doggett's 32 ;; The rules used for the Chinese calendar are those of Baolin Liu
33 ;; article "Calendars" in the Explanatory Supplement to the Astronomical 33 ;; (see L. E. Doggett's article "Calendars" in the Explanatory
34 ;; Almanac, second edition, 1992) for the calendar as revised at the beginning 34 ;; Supplement to the Astronomical Almanac, second edition, 1992) for
35 ;; of the Qing dynasty in 1644. The nature of the astronomical calculations 35 ;; the calendar as revised at the beginning of the Qing dynasty in
36 ;; is such that precise calculations cannot be made without great expense in 36 ;; 1644. The nature of the astronomical calculations is such that
37 ;; time, so that the calendars produced may not agree perfectly with published 37 ;; precise calculations cannot be made without great expense in time,
38 ;; tables--but no two pairs of published tables agree perfectly either! Liu's 38 ;; so that the calendars produced may not agree perfectly with
39 ;; rules produce a calendar for 2033 which is not accepted by all authorities. 39 ;; published tables--but no two pairs of published tables agree
40 ;; The date of Chinese New Year is correct from 1644-2051. 40 ;; perfectly either! Liu's rules produce a calendar for 2033 which is
41 41 ;; not accepted by all authorities. The date of Chinese New Year is
42 ;; Technical details of all the calendrical calculations can be found in 42 ;; correct from 1644-2051.
43 ;; ``Calendrical Calculations: The Millennium Edition'' by Edward M. Reingold
44 ;; and Nachum Dershowitz, Cambridge University Press (2001).
45 43
46 ;; Note to maintainers: 44 ;; Note to maintainers:
47 ;; Use `chinese-year-cache-init' every few years to recenter the default 45 ;; Use `chinese-year-cache-init' every few years to recenter the default
48 ;; value of `chinese-year-cache'. 46 ;; value of `chinese-year-cache'.
49 47