叶文彬 > Calendar-Any > Calendar::Any::Lunar

Download:
Calendar-Any-0.5.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Calendar::Any::Lunar - Lunar event functions

VERSION ^

version 0.5

SYNOPSIS ^

      use Calendar::Any::Lunar qw(new_moon_date);
      use Calendar::Any::Gregorian;
      my $date = Calendar::Any::Gregorian->new(12, 15, 2006);
      my $next_newmoon = Calendar::Any::Gregorian->new(new_moon_date($date, 30));
      print "The new next moon date is in $next_newmoon.\n";

DESCRIPTION ^

This library implement one function in emacs library lunar.el. new_moon_date is used to calculte the next new moon date.

AUTHOR ^

Ye Wenbin <wenbinye@gmail.com>

syntax highlighting: