Tom Wyant
and 2 contributors

TITLE

on-date - Lord Of THe Rings events on a given Gregorian date

SYNOPSIS

 on-date
 on-date 2010 6 23
 on-date -shire 1419 3 25 # Rethe 25 - Ring destroyed
 on-date -shire 1419 3    # Midyear's day - Arwen & Aragorn wed
 on-date -help
 on-date -version

OPTIONS

-format

 -format

This option specifies the format string to use in generating the output.

The default is '%Ex%n%En%Ed', which produces output like on_date().

-help

This option displays the documentation for this script. The script then exits.

-shire

If this option is asserted, the arguments are dates in the Shire calendar: either year, month, and day numbers, or year and holiday numbers.

The default is -noshire, which causes the arguments to be interpreted as Gregorian year, month and day numbers.

-version

This option displays the version of this script. The script then exits.

DETAILS

This Perl script calls the Date::Tolkien::Shire strftime() method to format and print the Shire Reckoning equivalent to a Gregorian date specified on the command line. The default is the current local date.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2017-2019 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.