Or, am I suppose to use the sunrise_sunset_span?
I think so. fixin'...

--d

I have a request. Can you make DT::E::Sunrise contain a method to give me both sunrise AND sunset for a given $dt? What I currently see is

  $obj->sunrise_datetime($dt);
  $obj->sunset_datetime($dt);

But that's a slight bit of overhead since you have to call the internal function _sunrise() twice.

my($rise, $set) = $obj->sunrise_sunset($dt)

or something like that would be nice.

Meanwhile, will fix 0.03 to use sunrise_datetime() and sunset_datetime()...

--d




Reply via email to