./devel/p5-Date-Manip, Perl5 module for date calculations

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2008Q1, Version: 5.48, Package name: p5-Date-Manip-5.48, Maintainer: pkgsrc-users

This is a set of routines designed to make any common date/time
manipulation easy to do. Operations such as comparing two times,
calculating a time a given amount of time from another, or parsing
international times are all easily done.

Date::Manip deals only with the Gregorian calendar (the one currently in
use). The Julian calendar defined leap years as every 4th year. The
Gregorian calendar improved this by making every 100th year NOT a leap
year, unless it was also the 400th year. The Gregorian calendar has been
extrapolated back to the year 1000 AD and forward to the year 9999 AD.
Note that in historical context, the Julian calendar was in use until 1582
when the Gregorian calendar was adopted by the Catholic church. Protestant
countries did not accept it until later; Germany and Netherlands in 1698,
British Empire in 1752, Russia in 1918. Note that the Gregorian calendar
is itself imperfect. Each year is on average 26 seconds too long, which
means that every 3,323 years, a day should be removed from the calendar.
No attempt is made to correct for that.


Master sites: (Expand)

SHA1: 3168f510260dcd1e516d6e98ffdecadd68fccf84
RMD160: 07838acb35c3dd8f7d78c7dbf6dfbc8d88292bb5
Filesize: 134.466 KB

Version history: (Expand)