[OFFTOPIC] Re: Y2k compliance

Franco Callari (FrancoC@GeometrixInc.com)
Sun, 06 Dec 1998 23:22:51 -0800


Hello,

> All I'm asking for is a known definition for the derivation of
> leap year . There has has to be one somewhere .
> Otherwise how did 'cal' get its definition ?

Well, good interesting pieces on the "how" can be found at the
"Catholic Encyclopedia" site
http://www.csn.net/advent/cathen/03738a.htm#gregorian
and, in much deeper historical detail,
http://www.csn.net/advent/cathen/09247c.htm

The relevant bit for the algorithm is the following (from the
first of the two articles):

Pope Gregory XIII, who introduced the reformed
system, or "New Style", ordained that ten days
in October, 1582, should not be counted, the
fourth of that month being immediately followed
by the fifteenth. He moreover determined that the
year should begin with 1 January, and in order to
prevent the Julian error from causing retardation
in the future as in the past, he ruled that three
leap years should be omitted in every four centuries,
viz. those of the centennial years the first two
figures of which are not exact multiples of four,
as 1700, 1800,1900, 2100, etc.

Enjoy!

Franco

-- 
---------------------------------------------------------------------
Francesco G. Callari                        
Geometrix, Inc.                   "Beati coloro che hanno fame e sete
124 Race St.                       di giustizia, perche` saranno
San Jose, CA, USA, 95126           giustiziati."      (P. Bellocchio)
                                    
FrancoC@geometrixinc.com | ph: +(408) 999-7480 | fax: +(999) 289-8258
WWW: <a href="http://www.cim.mcgill.ca/~franco/Home.html> Franco </a>
---------------------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/