Kuwaiti algorithm

Kuwaiti algorithm

Microsoft uses the Kuwaiti algorithm to convert between dates in the Western standard Gregorian calendar and dates in the Hijri or Islamic calendar. There is no fixed correspondence defined in advance between the Gregorian solar calendar and the Islamic lunar calendar, since the latter is defined by the visibility of the new moon by religious authorities and can therefore vary by a day or two, depending on the particular Islamic authority, weather conditions, and other variables. As an attempt to make conversions between the calendars somewhat predictable, Microsoft claims to have created this algorithm based on statistical analysis of historical data from Kuwait. However, its results are identical to a variation of the tabular Islamic calendar, which was introduced by Islamic astronomers around the eighth century.

Inevitably, any arithmetic algorithm is imprecise, and results often differ by a day or two from observation or complex calculation.

Behavior of Kuwaiti algorithm

"Note: This was determined by inspection of the output of the software and is possibly wrong for dates that were not examined."
*Common (non-leap) years have 354 days. Leap years have 355 days.
*Odd-numbered months of the year have 30 days. Even-numbered months have 29 days. Exception: the 12th month of a leap year has 30 days.
*Eleven of every thirty years are leap years. The leap years are the years which are congruent modulo 30 to any of these numbers: 2, 5, 7, 10, 13, 15, 18, 21, 24, 26, 29. Thus, a 30-year cycle always lasts exactly (354×30)+11 = 10631 days.
*Correlation with Gregorian calendar: the 1st of January 2000 (a Saturday) corresponds to the 25th of Ramadan 1420. (Ramadan is the ninth month of the Islamic lunar year.)

External links

* [http://www.phys.uu.nl/~vgent/islam/islam_tabcal.htm Information about various arithmetical Islamic Calendars]
* [http://www.microsoft.com/globaldev/DrIntl/columns/002/default.mspx#Q3 Microsoft information on Kuwaiti algorithm]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Islamic calendar — Arabic calendar redirects here. For the Gregorian calendar in Arabic, see Arabic names of calendar months. This …   Wikipedia

  • Tabular Islamic calendar — The Tabular Islamic Calendar (also called the Fatimid Calendar) is a rule based variation of the Islamic calendar. It has the same year numbers and months, but the months are determined by arithmetic rules rather than by observation or… …   Wikipedia

  • Calendrical calculation — A Calendrical calculation is a calculation concerning calendar dates. Calendrical calculations can be considered an area of applied mathematics. Some examples of calendrical calculations: The number of days between two dates. The date of a… …   Wikipedia

  • Arabic language — Arabic redirects here. For other uses, see Arabic (disambiguation). For the literary standard, see Modern Standard Arabic. For vernaculars, see varieties of Arabic. For others, see Arabic languages. Arabic العربية/عربي/عربى al ʿarabiyyah/ʿarabī …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”