On Tue, 6 Mar 2007, Zefram wrote:

Anthony R. J. Ball wrote:
 I want to be able to grab the actual DST change dates for a timezone
and year.

Some of what I'm doing would benefit from this too.  I suggest an addition
to the DT::TZ API:

   =head2 $tz->boundary_for_datetime($dt, $which)

I'd prefer multiple methods to a third parameter. Different names provides clarity. Who would know what a number means without looking in the docs?

If you want to send a patch with three names, that'd be good, and I can think about what exactly to call it. I'm not sure if "boundary" is the best word.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

Reply via email to