A date and time object

Edit Package perl-DateTime

DateTime is a class for the representation of date/time combinations, and
is part of the Perl DateTime project. For details on this project please
see the http://datetime.perl.org/ manpage. The DateTime site has a FAQ
which may help answer many "how do I do X?" questions. The FAQ is at the
http://datetime.perl.org/wiki/datetime/page/FAQ manpage.

It represents the Gregorian calendar, extended backwards in time before its
creation (in 1582). This is sometimes known as the "proleptic Gregorian
calendar". In this calendar, the first day of the calendar (the epoch), is
the first day of year 1, which corresponds to the date which was
(incorrectly) believed to be the birth of Jesus Christ.

The calendar represented does have a year 0, and in that way differs from
how dates are often written using "BCE/CE" or "BC/AD".

For infinite datetimes, please see the DateTime::Infinite module.

Refresh
Refresh
Source Files
Filename Size Changed
DateTime-1.10.tar.gz 0000179976 176 KB
perl-DateTime.changes 0000016897 16.5 KB
perl-DateTime.spec 0000002998 2.93 KB
Revision 29 (latest revision is 59)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 242324 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 29)
- updated to 1.10
 
 - Some tests added in 1.09 would fail on a Perl without a 64-bit
   gmtime(). Reported by Jerome Eteve. RT #95345.
 
 
 1.09   2014-05-03
 
 - A call to ->truncate( to => 'week' ) could fail but leave the object
   changed. RT #93347.
 
 - The value of ->jd() is now calculated based on ->mjd() instead of the other
   way around. This reduces floating point errors a bit when calculating MJD,
   and should have a neglible impact on the accuracy of JD. Reported by Anye
   Li. RT #92972. See the ticket for a more detailed description of what this
   fixes.
 
 - Attempting to construct a DateTime object with a year >= 5000 and a time
   zone other than floating or DST now issues a warning. This warning may go
   away once DateTime::TimeZone is made much faster. Inspired by a bug report
   from Lloyd Fournier. RT #92655.
 
 
 1.08   2014-03-11
 
 - DateTime now calls DateTime->_core_time() instead of calling Perl's time()
   built-in directly. This makes it much easier to override the value of time()
   that DateTime sees. This may make it easier to write tests for code that
   uses DateTime .
Comments 0
openSUSE Build Service is sponsored by