Declination - Declination of the sun for each day of the year
use Declination qw(declination); my $date = DateTime->new(day=>21, month=>3, year=>2010); my $declination = declination($date, 'deg');
Returns the declination of the sun on the given day of the year.
A DateTime object. Only the day and month are relevant.
The units to return, either 'rad' or 'deg'. This determines whether the result is returned as radians or degrees. If you are going to pass the result to trigonometric functions then radians are better. Default 'rad'.
Raphael Mankin, <rapmankin at cpan.org>
<rapmankin at cpan.org>
Please report any bugs or feature requests to bug-datetime-event-jewish at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DateTime-Event-Jewish. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-datetime-event-jewish at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc DateTime::Event::Jewish
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Event-Jewish
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/DateTime-Event-Jewish
CPAN Ratings
http://cpanratings.perl.org/d/DateTime-Event-Jewish
Search CPAN
http://search.cpan.org/dist/DateTime-Event-Jewish/
Copyright 2010 Raphael Mankin.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install DateTime::Event::Jewish, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Event::Jewish
CPAN shell
perl -MCPAN -e shell install DateTime::Event::Jewish
For more information on module installation, please visit the detailed CPAN module installation guide.