That's what I thought at first too but Phoenix is returning a 5 and it
does not have DST and Chicago returns a 97 and it does have DST.


Stephen Watters
Senior Programmer Analyst
Unirez by Pegasus
Pegasus Solutions, Inc.
[EMAIL PROTECTED]
(214) 234-4614

-----Original Message-----
From: Dave Rolsky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 1:43 AM
To: Watters, Stephen
Cc: datetime@perl.org
Subject: Re: Problem with has_dst_changes

On Tue, 7 Mar 2006, Watters, Stephen wrote:

> I am starting to use your DateTime::TimeZone module to handle my time 
> zone needs.  In using it, I discovered that the has_dst_changes 
> subroutine returns an integer value.  I was expecting a boolean value 
> or something to that effect so that you know if this time zone has
DST.
> Can you please tell me what this value actually is?

It's what the docs say it is:

   Indicates whether or not this zone ever has a change to and from DST.

It's a boolean, but the true value could be anything that's not zero. 
That's just how Perl works.


-dave

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

Reply via email to