| 1 |
NAME |
| 2 |
|
| 3 |
Date::JD - conversion between flavours of Julian Date |
| 4 |
|
| 5 |
DESCRIPTION |
| 6 |
|
| 7 |
For date and time calculations it is convenient to represent dates by |
| 8 |
a simple linear count of days, rather than in a particular calendar. |
| 9 |
This is such a good idea that it has been invented several times. |
| 10 |
If there were a single such linear count then it would be the obvious |
| 11 |
data interchange format between calendar modules. With several |
| 12 |
versions, calendar modules can use such sensible data formats and still |
| 13 |
have interoperability problems. This module tackles that problem, |
| 14 |
by performing conversions between different flavours of day count. |
| 15 |
These day count systems are generically known as "Julian Dates", after |
| 16 |
the most venerable of them. |
| 17 |
|
| 18 |
Among Julian Date systems there are also some non-trivial differences |
| 19 |
of concept. There are systems that count only complete days, and |
| 20 |
those that count fractional days also. There are some that are fixed |
| 21 |
to Universal Time (time on the prime meridian), and others that are |
| 22 |
interpreted according to a timezone. Some consider the day to start at |
| 23 |
noon and others at midnight, which is semantically significant for the |
| 24 |
complete-day counts. The functions of this module appropriately handle |
| 25 |
the semantics of all the non-trivial conversions. |
| 26 |
|
| 27 |
The day count systems supported by this module are Julian Date, Reduced |
| 28 |
Julian Date, Modified Julian Date, Dublin Julian Date, Truncated Julian |
| 29 |
Date, Chronological Julian Date, Rata Die, and Lilian Date, each in both |
| 30 |
integral and fractional forms. |
| 31 |
|
| 32 |
INSTALLATION |
| 33 |
|
| 34 |
perl Build.PL |
| 35 |
./Build |
| 36 |
./Build test |
| 37 |
./Build install |
| 38 |
|
| 39 |
AUTHOR |
| 40 |
|
| 41 |
Andrew Main (Zefram) <[email protected]> |
| 42 |
|
| 43 |
COPYRIGHT |
| 44 |
|
| 45 |
Copyright (C) 2006, 2007, 2009, 2010, 2011, 2017 |
| 46 |
Andrew Main (Zefram) <[email protected]> |
| 47 |
|
| 48 |
LICENSE |
| 49 |
|
| 50 |
This module is free software; you can redistribute it and/or modify it |
| 51 |
under the same terms as Perl itself. |