叶文彬 > Calendar-Any > Calendar::Any::Util::Solar

Download:
Calendar-Any-0.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.5   Source  

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>

syntax highlighting: