NAME

Calendar::Gregorian - Perl extension for Gregorian Calendar

SYNOPSIS

use Calendar;
my $date = Calendar->new_from_Gregorian(1, 1, 2006);

DESCRIPTION

From "FREQUENTLY ASKED QUESTIONS ABOUT CALENDARS"(http://www.tondering.dk/claus/calendar.html)

    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.

METHOD

This class is inherited from Calendar::Julian. The method is the same as Calendar::Julian.

AUTHOR

Ye Wenbin <wenbinye@gmail.com>

COPYRIGHT

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.

SEE ALSO

Calendar, Calendar::Julian