Calendrical Calculation
   HOME

TheInfoList



OR:

A calendrical calculation is a
calculation A calculation is a deliberate mathematical process that transforms one or more inputs into one or more outputs or ''results''. The term is used in a variety of senses, from the very definite arithmetical calculation of using an algorithm, to th ...
concerning
calendar date A calendar date is a reference to a particular day represented within a calendar system. The calendar date allows the specific day to be identified. The number of days between two dates may be calculated. For example, "25 " is ten days after " ...
s. Calendrical calculations can be considered an area of
applied mathematics Applied mathematics is the application of mathematical methods by different fields such as physics, engineering, medicine, biology, finance, business, computer science, and industry. Thus, applied mathematics is a combination of mathematical s ...
. Some examples of calendrical calculations: * Converting a Julian or
Gregorian calendar The Gregorian calendar is the calendar used in most parts of the world. It was introduced in October 1582 by Pope Gregory XIII as a modification of, and replacement for, the Julian calendar. The principal change was to space leap years dif ...
date to its
Julian day The Julian day is the continuous count of days since the beginning of the Julian period, and is used primarily by astronomers, and in software for easily calculating elapsed days between two events (e.g. food production date and sell by date). ...
number and vice versa (see the section on calculation in that article for details). * The number of days between two dates, which is simply the difference in their Julian day numbers. * The dates of moveable holidays, like Christian
Easter Easter,Traditional names for the feast in English are "Easter Day", as in the '' Book of Common Prayer''; "Easter Sunday", used by James Ussher''The Whole Works of the Most Rev. James Ussher, Volume 4'') and Samuel Pepys''The Diary of Samuel ...
(the calculation is known as
Computus As a moveable feast, the date of Easter is determined in each year through a calculation known as (). Easter is celebrated on the first Sunday after the Paschal full moon, which is the first full moon on or after 21 March (a fixed approxi ...
) followed up by Ascension Thursday and
Pentecost Pentecost (also called Whit Sunday, Whitsunday or Whitsun) is a Christianity, Christian holiday which takes place on the 50th day (the seventh Sunday) after Easter Sunday. It commemorates the descent of the Holy Spirit upon the Apostles in the Ne ...
or
Advent Advent is a Christian season of preparation for the Nativity of Christ at Christmas. It is the beginning of the liturgical year in Western Christianity. The name was adopted from Latin "coming; arrival", translating Greek ''parousia''. In ...
Sundays, or the Jewish
Passover Passover, also called Pesach (; ), is a major Jewish holidays, Jewish holiday that celebrates the The Exodus, Biblical story of the Israelites escape from slavery in Ancient Egypt, Egypt, which occurs on the 15th day of the Hebrew calendar, He ...
, for a given year. * Converting a date between different calendars. For instance, dates in the
Gregorian calendar The Gregorian calendar is the calendar used in most parts of the world. It was introduced in October 1582 by Pope Gregory XIII as a modification of, and replacement for, the Julian calendar. The principal change was to space leap years dif ...
can be converted to dates in the
Islamic calendar The Hijri calendar ( ar, ٱلتَّقْوِيم ٱلْهِجْرِيّ, translit=al-taqwīm al-hijrī), also known in English as the Muslim calendar and Islamic calendar, is a lunar calendar consisting of 12 lunar months in a year of 354 or ...
with the
Kuwaiti algorithm The Tabular Islamic calendar ( ar, التقويم الهجري المجدول, altaqwim alhijriu almujadwal) is a rule-based variation of the Islamic calendar. It has the same numbering of years and months, but the months are determined by arith ...
. *
Calculating the day of the week The determination of the day of the week for any date may be performed with a variety of algorithms. In addition, perpetual calendars require no calculation by the user, and are essentially lookup tables. A typical application is to calculate the ...
. Calendrical calculation is one of the five major
Savant syndrome Savant syndrome () is a rare condition in which someone with significant mental disabilities demonstrates certain abilities far in excess of average. The skills that savants excel at are generally related to memory. This may include rapid calcu ...
characteristics.


Examples

Numerical methods were described in the ''Journal of the Department of Mathematics,'' Open University, Milton Keynes, Buckinghamshire ''(M500)'' in 1997 and 1998.''Journal of the Department of Mathematics, M500'' (ed. A D Forbes) Issue 157 (September 1997) p 21, Issue 160 (February 1998) pp 19-20 (contains typographical errors, corrected version below) and Issue 161 (April 1998) p 21. The M500 Society, Open University, Milton Keynes, Buckinghamshire. The following algorithm gives the number of days (''d'') in month ''m'' of year ''y''. The value of ''m'' is given on the right of the month in the following list: January 11 February 12 March 1 April 2 May 3 June 4 July 5 August 6 September 7 October 8 November 9 December 10. The algorithm enables a computer to print calendar and diary pages for past or future sequences of any desired length from the reform of the calendar, which in England was 3/14 September 1752. The article
Date of Easter As a moveable feast, the date of Easter is determined in each year through a calculation known as (). Easter is celebrated on the first Sunday after the Paschal full moon, which is the first full moon on or after 21 March (a fixed approxi ...
gives algorithms for calculating the date of Easter. Combining the two enables the page headers to show any fixed or movable festival observed on the day, and whether it is a bank holiday. The algorithm utilises the integral or floor function: thus \left\lfloor\right\rfloor is that part of the number ''x'' which lies to the left of the decimal point. It is only necessary to work through the complete function when calculating the length of February in a year which is divisible by 100 without remainder. When calculating the length of February in any other year it is only necessary to evaluate the terms to the left of the fifth + sign. When calculating the length of any other month it is only necessary to evaluate the terms to the left of the third - sign. d=30+\left\lfloor\right\rfloor-\left\lfloor\right\rfloor-2\left\lfloor\right\rfloor+\left\lfloor\right\rfloor\left\lfloor\right\rfloor :+\left\lfloor\right\rfloor\left\lfloor\right\rfloor To find the length of, for example, February 2000 the calculation is :d=30+\left\lfloor\right\rfloor-\left\lfloor\right\rfloor-2+\left\lfloor\right\rfloor +\left\lfloor\right\rfloor-1 =30+7-7-2+\left\lfloor\right\rfloor+\left\lfloor\right\rfloor-1 =28+1+1-1 =29.


See also

''
Calendrical Calculations ''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 ...
''


References

* Edward M. Reingold and
Nachum Dershowitz Nachum Dershowitz is an Israeli computer scientist, known e.g. for the Dershowitz–Manna ordering and the multiset path ordering used to prove termination of term rewrite systems. He obtained his B.Sc. summa cum laude in 1974 in Computer Scie ...
. '' Calendrical Calculations: The Ultimate Edition''.
Cambridge University Press Cambridge University Press is the university press of the University of Cambridge. Granted letters patent by Henry VIII of England, King Henry VIII in 1534, it is the oldest university press A university press is an academic publishing hou ...
; (2018). Calendar algorithms {{Mathapplied-stub