Calendar::Any::Util::Solar - Solar event functions
version 0.5
use Calendar::Any::Util::Solar qw(next_longitude_date); use Calendar::Any::Gregorian; my $date = Calendar::Any::Gregorian->new(12, 15, 2006); my $next_solstice = Calendar::Any::Gregorian->new(next_longitude_date($date, 30)); print "The winter solstice is in $next_solstice.\n";
This library implement the two function in emacs library solar.el. The function next_longitude_date is used for calculted date that sun's longitude is a multiple for a degrees. And longitude is used for calcute sun's longitude at the 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.