Calendar::Gregorian - Perl extension for Gregorian Calendar
use Calendar; my $date = Calendar->new_from_Gregorian(1, 1, 2006);
From "FREQUENTLY ASKED QUESTIONS ABOUT CALENDARS"(
The Gregorian calendar is the one commonly used today. It was proposed by Aloysius Lilius, a physician from Naples, and adopted by Pope Gregory XIII in accordance with instructions from the Council of Trent (1545-1563) to correct for errors in the older Julian Calendar. It was decreed by Pope Gregory XIII in a papal bull on 24 February 1582. This bull is named "Inter Gravissimas" after its first two words.
In the Gregorian calendar, the tropical year is approximated as 365 97/400 days = 365.2425 days. Thus it takes approximately 3300 years for the tropical year to shift one day with respect to the Gregorian calendar.
The approximation 365 97/400 is achieved by having 97 leap years every 400 years.
This class is inherited from Calendar::Julian. The method is the same as Calendar::Julian.
Ye Wenbin <firstname.lastname@example.org>
Copyright (C) 2006 by ywb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.