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

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-DateTime-Precise-1.05nb11.tgz
Package name p5-DateTime-Precise
Package version 1.05nb11
Package release -
Package architecture amd64
Package type tgz
Category perl5 time
Homepage https://metacpan.org/release/DateTime-Precise
License -
Maintainer -
Download size 31.86 KB
Installed size 121.44 KB
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.


Package Version Architecture Repository
p5-DateTime-Precise-1.05nb11.tgz 1.05nb11 i386 NetBSD
p5-DateTime-Precise - - -


Name Value
perl >= 5.30.0 < 5.32.0


Type URL
Mirror ftp.netbsd.org
Binary Package p5-DateTime-Precise-1.05nb11.tgz
Source Package p5-DateTime-Precise

Install Howto

Install p5-DateTime-Precise tgz package:

# pkg_add p5-DateTime-Precise

See Also

Package Description
p5-DateTime-Set-0.3900nb3.tgz Perl module for date/time sets and ranges
p5-DateTime-TimeZone-2.37.tgz Perl module to handle time zone manipulation
p5-DateTimeX-Easy-0.089nb9.tgz Parse a date/time string using the best method available
p5-Debug-Client-0.31nb2.tgz Client side code for perl debugger
p5-Debug-ShowStuff-1.16nb4.tgz Collection of handy debugging routines to display values of variables
p5-Declare-Constraints-Simple-0.03nb11.tgz Perl 5 module for declarative validation of data structures
p5-Devel-Autoflush-0.06nb5.tgz Perl module to set autoflush from the command line
p5-Devel-Caller-2.06nb5.tgz Meatier versions of caller
p5-Devel-Caller-IgnoreNamespaces-1.1nb2.tgz Provide caller that ignores specific namespaces
p5-Devel-CheckBin-0.04nb4.tgz Perl extension to check that a command is available
p5-Devel-CheckCompiler-0.07nb3.tgz Check the compiler availability
p5-Devel-CheckLib-1.14.tgz Perl extension to check that a library is available
p5-Devel-CheckOS-1.81nb2.tgz Perl extension to check what OS we are running on
p5-Devel-Confess-0.009004nb2.tgz Include stack traces on all warnings and errors
p5-Devel-Cover-1.33.tgz Perl 5 module providing code coverage metrics