Calendar::Solar - Solar event functions
use Calendar::Solar qw(next_longitude_date); use Calendar; my $date = Calendar->new_from_Gregorian(12, 15, 2006); my $next_solstice = Calendar->new_from_Gregorian(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 <email@example.com>
Copyright (C) 2006 by ywb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.