On 15 Jun 2011 at 14:16, Fred Cisin wrote:
As a "Computer Math" problem, I gave
different levels of credit for
the answers on whether they took 1900 into account, and whether they
took 2000 into account.
I guess I would have asked "what country" and "in what context"?
Remember that many eastern European Churches didn't change until
1923. (Turkey adopted the Gregorian only in 1926; Ethiopia still uses
a calendar with no exceptions to the 4-year leap year rule, so it's
only 2003 there.). And some adopted the "New Julian Calendar", which
is a bit more accurate than the one we in the west use. Then there's
the Juche calendar used by the PRK, where our 1997 is the year 1 (the
year of Kim Il Sung's birth)
The algorithm for leap years is this in the New Julian:
isLeapYear = (year MOD 4 = 0)
IF isLeapYear THEN
IF year MOD 100 = 0 THEN
Century = (year / 100) MOD 9
isLeapYear = (Century=2) OR (Century=6)
END IF
END IF
Thus, the Gregorianr and New Julian calendars will be out of whack in
2800, where that year will be a leap year in the NJ, but not in the
Gregorian.
--Chuck