./time/p5-DateTime-Precise, Perl module for common time and date operations with GPS ops

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


Branch: CURRENT, Version: 1.05nb15, Package name: p5-DateTime-Precise-1.05nb15, Maintainer: pkgsrc-users

The purpose of this library was to replace our dependence on Unix
epoch time, which, being limited to a range of about 1970 to 2030,
is inadequate for our purposes (we have data as old as 1870). This
date library effectively handles dates from A.D. 1000 to infinity,
and would probably work all the way back to 0 (ignoring, of course,
the switch-over to the Gregorian calendar). The useful features of
Unix epoch time (ease of date difference calculation and date
comparison, strict ordering) are preserved, and elements such as
human-legibility are added. The library handles fractional seconds
and some date/time manipulations used for the Global Positioning
Satellite system.

The operators +/-, <=>, cmp, stringify are overloaded. Addition
handles seconds and fractions of seconds, subtraction handles
seconds or date differences, compares work, and stringification
returns the a representation of the date.

The US Geological Survey (USGS) likes midnight to be 24:00:00 of
the previous day, not 00:00:00 of the day people expect. If
$DateTime::Precise::USGSMidnight is set, dprintf will always print
midnight as 24:00:00 and the date returned from dprintf will have
the previous day's date. Regardless, time is always stored internally
as 00:00:00.


Required to run:
[lang/perl5]

Master sites: (Expand)

Filesize: 34.765 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 13:24:47 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263)
Log message:
time: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557)
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816)
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.