Re: [Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Flavio S. Glock
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(

RE: [Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Hill, Ronald
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 => $

Re: [Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Flavio S. Glock
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

[Announce] updated version of DateTime::Event::Sunrise on CVS

2004-01-09 Thread Hill, Ronald
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 =