Calendrical Calculations
{{distinguish|Calendrical calculation}}
{{Short description|1997 book about time conversion algorithms}}
{{Infobox book
| italic title =
| name = Calendrical Calculations
| image = Calendrical Calculations.jpg
| image_size =
| border =
| alt =
| caption = First edition (1997)
| author = Nachum Dershowitz, Edward Reingold
| audio_read_by =
| title_orig =
| orig_lang_code =
| title_working =
| translator =
| illustrator =
| cover_artist =
| country =
| language = English
| series =
| release_number =
| subject =
| genre =
| set_in =
| publisher =
| publisher2 =
| pub_date =
| english_pub_date =
| published =
| media_type =
| pages =
| awards =
| isbn =
| isbn_note =
| oclc =
| dewey =
| congress =
| preceded_by =
| followed_by =
| native_wikisource =
| wikisource =
| notes =
| exclude_cover =
| website =
}}
Calendrical Calculations is a book on calendar systems and algorithms for computers to convert between them. It was written by computer scientists Nachum Dershowitz and Edward Reingold and published in 1997 by the Cambridge University Press. A second "millennium" edition with a CD-ROM of software was published in 2001, a third edition in 2008, and a fourth "ultimate" edition in 2018.
Topics
There have been many different calendars in different societies, and there is much difficulty in converting between them, largely because of the impossibility of reconciling the irrational ratios of the daily, monthly, and yearly astronomical cycle lengths using integers.{{r|ranada}} The 14 calendars discussed in the first edition of the book included the Gregorian calendar, ISO week date, Julian calendar, Coptic calendar, Ethiopian calendar, Islamic calendar, modern Iranian calendar, Baháʼí calendar, French Republican calendar, old and modern Hindu calendars, Maya calendar, and modern Chinese calendar.{{r|ranada|katz}} Later editions expanded it to many more calendars.{{r|akutowicz|lumiste|cook}} They are divided into two groups: "arithmetical" calendars, whose calculations can be performed purely mathematically, independently from the positions of the moon and sun, and "astronomical" calendars, based in part on those positions.{{r|mccarthy}}
The authors design individual calendrical calculation algorithms for converting each of these calendars to and from a common format, the Rata Die system of days numbered from January 1 of the (fictional) Gregorian year 1. Combining these methods allows the conversion between any two of the calendars.{{r|katz|kelley}} One of the innovations of the book is the use of clever coding to replace tables of values of mildly-irregular sequences, such as the numbers of days in a month.{{r|willson}} The authors also discuss the history of the calendars they describe, analyze their accuracy with respect to the astronomical events that they were designed to model, and point out important days in the year of each calendar.{{r|katz}} An appendix includes full documentation of the software.{{r|mccarthy|kudlek}}
One purpose of the book is to provide usable and efficient open software in an area where previous solutions were largely proprietary, incomplete, and buggy.{{r|willson}} Author Edward Reingold originally programmed these methods in Emacs Lisp, as part of the text editor GNU Emacs, and the authors expanded an earlier journal publication on this implementation into the book.{{r|ranada|cook}} This code has been converted to Common Lisp for the book, and [https://reingold.co/calendar.l distributed under an open license], and included within the book as a precise and unambiguous way of describing each algorithm.{{r|cook}}
Audience and reception
This is primarily a reference book, but can also be read for pleasure by readers interested in this topic.{{r|willson}} Reviewer Victor J. Katz recommends this book to anyone who is "at all interested in how we deal with time".{{r|katz}} However, reviewer John D. Cook points out that, to understand the details of the algorithms described in the book, readers must be familiar with Lisp coding, and that it is difficult to skim without working through the details.{{r|cook}} On the other hand, despite not being easy reading, reviewer Antonio F. Rañada recommends it not only to "mathematicians, astronomers or computer scientists, but also for historians or for any person interested in the cultural aspects of science".{{r|ranada}}
Reviewer Noel Swerdlow views the first edition as a "work in progress", preferring the 19th-century tables of Robert Schram to computerized methods.{{r|swerdlow}} And while praising it for avoiding the "second-hand errors, third-order simplifications, and outright myths" of many other millennial works on the calendar, reviewer Robert Poole points out as a weakness that it only considers a single version of each calendar, whereas historically these systems went through multiple revisions, and quotes the book as noting that its results are sometimes "mathematically sensible, but culturally wrong". Adding that the reduction of a human-produced calendar to a computer calculation is "sheer hubris", he nevertheless concludes that "We can be grateful that so useful a work of reference has been created from a project of such awe-inspiring futility".{{r|poole}} And reviewer Manfred Kudlek calls this "the most extensive and detailed publication on calendar systems" since the early 20th-century Handbuch der mathematischen und technischen Chronologie of Friedrich Karl Ginzel.{{r|kudlek}}
See also
References
{{reflist|refs=
{{citation|first=A.|last=Akutowicz|journal=zbMATH| title = Review of Calendrical Calculations (2nd ed.)|zbl=1004.01001}}
{{citation|first=John D.|last=Cook|journal=MAA Reviews|publisher=Mathematical Association of America|title=Review of Calendrical Calculations (4th ed.)|url=https://www.maa.org/press/maa-reviews/calendrical-calculations-the-ultimate-edition|date=July 2018}}
{{citation|first=Victor J.|last=Katz|authorlink=Victor J. Katz|journal=Mathematical Reviews|title=Review of Calendrical Calculations (1st ed.)|mr=1462888}}
| last = Kelley | first = David H. | authorlink = David H. Kelley
| bibcode = 1999JHA....30..407D
| date = November 1999
| doi = 10.1177/002182869903000404
| issue = 4
| journal = Journal for the History of Astronomy
| pages = 407–409
| title = Calendrical systems explored
| volume = 30| s2cid = 126134279 }}
{{citation|first=Manfred|last=Kudlek|journal=zbMATH| title = Review of Calendrical Calculations (1st ed.)|zbl=0894.01023}}
{{citation|first=Ülo|last=Lumiste|authorlink=Ülo Lumiste|journal=zbMATH| title = Review of Calendrical Calculations (3rd ed.)|zbl=1141.01001}}
| last = McCarthy | first = Daniel
| date = December 1998
| issue = 4
| journal = Isis
| jstor = 236740
| pages = 703–704
| title = Review of Calendrical Calculations (1st ed.)
| volume = 89| doi = 10.1086/384162
}}
| last = Poole | first = Robert | authorlink = Robert Poole (historian)
| date = March 1999
| issue = 1
| journal = The British Journal for the History of Science
| jstor = 4027975
| pages = 116–118
| title = Review of Calendrical Calculations (1st ed.)
| volume = 32}}; reprinted in Mathematics in School (1998), {{JSTOR|30215396}}
| last = Rañada | first = Antonio F.
| date = March 1998
| doi = 10.1088/0143-0807/19/2/020
| issue = 2
| journal = European Journal of Physics
| title = Review of Calendrical Calculations (1st ed.)
| volume = 19| s2cid = 250863468
}}
| last = Swerdlow | first = N. M. | authorlink = Noel Swerdlow
| date = July 1998
| doi = 10.1109/mahc.1998.707580
| issue = 3
| journal = IEEE Annals of the History of Computing
| pages = 78
| title = Review of Calendrical Calculations (1st ed.)
| volume = 20| s2cid = 30216733 }}
| last = Wynne Willson | first = William
| date = March 1999
| doi = 10.2307/3618726
| issue = 496
| journal = The Mathematical Gazette
| jstor = 3618726
| pages = 159–160
| title = Review of Calendrical Calculations (1st ed.)
| volume = 83| s2cid = 189643046
}}
}}
External links
- [https://reingold.co/calendars.shtml Edward M. Reingold's Calendar Book, Papers, and Code]
- [https://books.google.com/books?id=DPbx0-qgXu0C Calendrical Calculations on Google Books]
- [https://www.worldcat.org/oclc/42136227 Calendrical Calculations on Worldcat] (lending/reference library availability).
Category:Computer science books
Category:1997 non-fiction books
Category:2001 non-fiction books
Category:2008 non-fiction books