From: Chuck Guzis
Sent: Wednesday, June 15, 2011 3:24 PM
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.
Umm, that's backwards. 28 % 9 = 1. It will be a leap year in the
Gregorian and NOT in the New Julian.
Rich Alderson
Vintage Computing Sr. Server Engineer
Vulcan, Inc.
505 5th Avenue S, Suite 900
Seattle, WA 98104
mailto:RichA at
vulcan.com
mailto:RichA at
LivingComputerMuseum.org
(206) 342-2239
(206) 465-2916 cell
http://www.LivingComputerMuseum.org/