-
-
28 Jan 2022 20:30:30 UTC
- Development release
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (1)
- Testers (242 / 0 / 0)
- Kwalitee
Bus factor: 2- 88.01% Coverage
- License: perl_5
- Perl: v5.8.4
- Activity
24 month- Tools
- Download (30.66KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 4 contributors-
Eugene van der Pijll
- Thomas R. Wyant, III <wyant at cpan dot org>
- realclean
- HASH(0xa1a8478)
- Dependencies
- Carp
- DateTime
- DateTime::Calendar::Julian
- constant
- overload
- strict
- warnings
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.12_02 - 2022-01-28
- Add julian_deviation(). This is like gregorian_deviation(), but increments on March 1 Gregorian rather than March 1 Julian. Thanks to Christian Carey for suggesting this.
- Tweak POD for from_epoch() and add, subtract. Fairly significantly in the latter case.
Changes for version 0.12_01 - 2022-01-19
- Correct minimum perl to 5.008004 in metadata. This has always been the minimum functionally because DateTime requires 5.008004, but for some reason the Makefile.PL asked for 5.006002.
- RT 140734 - Adding large durations. The problem here was that after doing a straight rata die addition, if the new date was on the other side of the reform date from the original date a correction would be applied so that (e.g., using the UK reform date) February 11 Julian would always be February 22 Gregorian, and vice versa. But this makes sense only when adding months or years. When adding days it introduces an error of a day for each year which is a leap year Julian but not Gregorian. The fix applies the adjustment only when adding months or years. Thanks to Christian Carey for finding this.
Modules
Dates in the Christian calendarExamples
Module Install Instructions
To install DateTime::Calendar::Christian, copy and paste the appropriate command in to your terminal.
cpanm DateTime::Calendar::Christian
perl -MCPAN -e shell install DateTime::Calendar::Christian
For more information on module installation, please visit the detailed CPAN module installation guide.