| 1 | Source: libdate-jd-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Ivan Kohler <[email protected]>, |
| 4 | Xavier Guimard <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13), |
| 9 | libmodule-build-perl, |
| 10 | libtest-pod-perl, |
| 11 | libtest-pod-coverage-perl, |
| 12 | perl |
| 13 | Standards-Version: 4.1.3 |
| 14 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdate-jd-perl |
| 15 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdate-jd-perl.git |
| 16 | Homepage: https://metacpan.org/release/Date-JD |
| 17 | |
| 18 | Package: libdate-jd-perl |
| 19 | Architecture: all |
| 20 | Depends: ${misc:Depends}, |
| 21 | ${perl:Depends} |
| 22 | Multi-Arch: foreign |
| 23 | Description: conversion between flavours of Julian Date |
| 24 | For date and time calculations it is convenient to represent dates by a |
| 25 | simple linear count of days, rather than in a particular calendar. This is |
| 26 | such a good idea that it has been invented several times. If there were a |
| 27 | single such linear count then it would be the obvious data interchange format |
| 28 | between calendar modules. With several versions, calendar modules can use |
| 29 | such sensible data formats and still have interoperability problems. Date::JD |
| 30 | tackles that problem, by performing conversions between different flavours of |
| 31 | day count. These day count systems are generically known as "Julian Dates", |
| 32 | after the most venerable of them. |
| 33 | . |
| 34 | Among Julian Date systems there are also some non-trivial differences of |
| 35 | concept. There are systems that count only complete days, and those that |
| 36 | count fractional days also. There are some that are fixed to Universal Time |
| 37 | (time on the prime meridian), and others that are interpreted according to a |
| 38 | timezone. Some consider the day to start at noon and others at midnight, |
| 39 | which is semantically significant for the complete-day counts. The functions |
| 40 | of this module appropriately handle the semantics of all the non-trivial |
| 41 | conversions. |