The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.000_007 - 2017-02-13

  • First CPAN release.
  • Add __on_date_accented(). This subroutine wraps __on_date(), but returns proper nouns accented as they are in The Lord Of The Rings.

Changes for version 0.000_006 - 2017-02-10

  • Clean up eg/ scripts.
  • Add __format format %ED, for on_date() support. This is like %Ed, but a leading "\n" is added if the result is not null. This means the usual on_date() method can be duplicated by __format( $date, '%Ex%n%ED' );

Changes for version 0.000_005 - 2017-02-08

  • Add __holiday_name_to_number() and __month_name_to_number(). These convert a holiday name to a holiday number and a month name to a month number respectively. Numeric arguments are simply returned. Unrecognized arguments return 0.
  • Remove creeping 5.8-isms, so that we actually work under 5.6.2.

Changes for version 0.000_004 - 2017-02-07

  • Correct __rata_die_to_year_day(). Also test it more exhaustively (if author) or at least in a more targeted manner (if not).
  • Also correct GREGORIAN_RATA_DIE_TO_SHIRE, using a better-thought-out computation.

Changes for version 0.000_003 - 2017-02-06

  • Remove Shire-related constant from __year_day_to_rata_die() and __rata_die_to_year_day(). This way they can be used on any calendar having the Gregorian year-length rules.
  • Added exportable manifest constant GREGORIAN_RATA_DIE_TO_SHIRE to convert from "true" (Gregorian-based) Rata Die to Shire Rata Die.

Changes for version 0.000_002 - 2017-02-06

  • Have subroutines return 0 or '' as appropriate (meaning, for legal dates to which they do not apply, e.g. month-related stuff on a holiday).
  • Simplify __format conversion code. This mostly means things like %m on a holiday producing '00', though it also means requiring a day_of_week() method on the object passed in. This method was added to the hash wrapper, implemented by constructing a {day_of_week} entry if one did not already exist.

Changes for version 0.000_001 - 2017-02-05

  • Initial version.

Modules

Data functionality for Shire calendars.