NAME

Calendar::Any::Util::Solar - Solar event functions

VERSION

version 0.5

SYNOPSIS

      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";

DESCRIPTION

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.

AUTHOR

Ye Wenbin <wenbinye@gmail.com>