ArticleslgStudy

computer science

Calendrical Calculations

Calendrical Calculations is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Calendrical Calculations rather than just read about it. In short: 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.

Calendrical Calculations — main illustration
Calendrical Calculations — illustration

Key takeaways

  • Calendrical Calculations belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Calendrical Calculations to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Calendrical Calculations from memory before moving on to harder problems.

Reference excerpt

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. 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. Later editions expanded it to many more calendars. 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. 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. 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. 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. An appendix includes full documentation of the software. 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. 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. This code has been converted to Common Lisp for the book, and distributed under an open license, and included within the book as a precise and unambiguous way of describing each algorithm. An R implementation of the software is available in the calcal package by Rob J. Hyndman.

Audience and reception This is primarily a reference book, but can also be read for pleasure by readers interested in this topic. Reviewer Victor J. Katz recommends this book to anyone who is "at all interested in how we deal with time". 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. 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". Reviewer Noel Swerdlow views the first edition as a "work in progress", preferring the 19th-century tables of Robert Schram to computerized methods. 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". 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.

See also New moon Zeller's congruence

References

External links Edward M. Reingold's Calendar Book, Papers, and Code Calendrical Calculations on Google Books Calendrical Calculations on Worldcat (lending/reference library availability).

Worked examples

Example 1 — a first encounter with Calendrical Calculations

Start with the simplest possible case. Write down what Calendrical Calculations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Calendrical Calculations before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Calendrical Calculations ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Calendrical Calculations

In research
Calendrical Calculations appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Calendrical Calculations in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Calendrical Calculations is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1997 non-fiction books, 2001 non-fiction books, 2008 non-fiction books, so understanding it makes those chapters shorter.
In everyday life
Look for Calendrical Calculations outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Calendrical Calculations” →

How to study Calendrical Calculations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Calendrical Calculations means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Calendrical Calculations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Calendrical Calculations in simple terms?

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.

Why does Calendrical Calculations matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Calendrical Calculations?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Calendrical Calculations.

Tags

  • 1997 non-fiction books
  • 2001 non-fiction books
  • 2008 non-fiction books
  • 2018 non-fiction books
  • Calendar algorithms
  • Cambridge University Press books
  • Computer science books
  • Mathematics books

Keep exploring