叶文彬 > Calendar-v0.4.2 > Calendar::Solar

Download:
Calendar-v0.4.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Calendar::Solar - Solar event functions

SYNOPSIS ^

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

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>

COPYRIGHT ^

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.

syntax highlighting: