Calendar::Any::Lunar - Lunar event functions
version 0.5
use Calendar::Any::Lunar qw(new_moon_date); use Calendar::Any::Gregorian; my $date = Calendar::Any::Gregorian->new(12, 15, 2006); my $next_newmoon = Calendar::Any::Gregorian->new(new_moon_date($date, 30)); print "The new next moon date is in $next_newmoon.\n";
This library implement one function in emacs library lunar.el. new_moon_date is used to calculte the next new moon date.
Ye Wenbin <wenbinye@gmail.com>
To install Calendar::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Calendar::Any
CPAN shell
perl -MCPAN -e shell install Calendar::Any
For more information on module installation, please visit the detailed CPAN module installation guide.