Hill, Ronald wrote:
>
> > my $dt_set = $sunrise->sunrise_set( %optional_parameters );
> > my $dt_set2 = $sunrise->sunset_set( %optional_parameters );
>
> I don't understand this?
I made a few changes, I hope it makes more sense:
my $sun = DateTime::Event::Sunrise->new(
Flavio S. Glock wrote:
> Hill, Ronald wrote:
>>
>> Hi All,
>>
>> I have just updated the DateTime::Event::Sunrise package on
>> CVS. I have added a new method sunrise_sunset (and a new method).
[snipped]
>
> Is this too verbose?
>
> my $dt_span = $sunrise->sunrise_sunset_span( datetime => $
Hill, Ronald wrote:
>
> Hi All,
>
> I have just updated the DateTime::Event::Sunrise package on
> CVS. I have added a new method sunrise_sunset (and a new method).
>
> Basically, it will return a DateTime Span containing
> the rise/set times. Example:
[...]
> my $sunrise = DateTime::Event::Sunri
Hi All,
I have just updated the DateTime::Event::Sunrise package on
CVS. I have added a new method sunrise_sunset (and a new method).
Basically, it will return a DateTime Span containing
the rise/set times. Example:
use DateTime;
use DateTime::Event::Sunrise;
use strict;
use warnings;
my $dt =