classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pacific/Easter TimeZone.java


From: Bastiaan Huisman
Subject: Re: Pacific/Easter TimeZone.java
Date: Thu, 25 Aug 2005 23:10:59 +0200

Hi Mark,

I seem to run into one problem with timezone ART. Initializing the new
TimeZone.java will result in a failure because of this ART :-(. Removing
ART from TimeZone.java will resolve this, but that's probably not the
way to go ;-). I have to look into it further, but as I'm no expert in
it, and I'm a bit more busy than a few weeks ago, this will take me some
time.

Greets,
Bastiaan 


On Thu, 2005-08-25 at 22:59 +0200, Mark Wielaard wrote:
> Hoi Bastiaan,
> 
> On Fri, 2005-08-12 at 16:21 +0200, Bastiaan Huisman wrote:
> > The routine parseTime was parsing time with respect to standard time,
> > while the default input for SimpleTimeZone is in wall time. I have
> > changed this. There probably is a different way to patch this, but I
> > guess this is the fastest.
> > 
> > $stdoffset=$savings is the offset with respect to standard time just
> > before the end of DST.
> > $stdoffset=0 is the offset with respect to standard time just before the
> > start of DST.
> > When the suffixes g, u or z are present, to get wall time, the total
> > offset with respect to UTC, $rawoffset+$stdoffset, must be used.
> > When the suffix s is present, to get wall time, the offset with respect
> > to standard time, $stdoffset, must be used. 
> > When no suffix is present, wall time is assumed. 
> > 
> > I am no expert on this, so please correct me if I'm wrong. I have tested
> > this on EU and America/Santiago and Pacific/Easter. 
> 
> Thanks! I am also not an expert but this does look correct to me.
> I took the new tzdata2005l files (I had some trouble with the 2005k that
> was just released that I need to look into with the Indianapolis name
> link change, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23566) and
> updated the timezones.pl script with your suggestions and some
> formatting changes to make the generated TimeZone.java diff as small as
> possible:
> 
> 2005-08-25  Mark Wielaard  <address@hidden>
> 
>     Reported by Bastiaan Huisman <address@hidden>
>     * scripts/tzabbrevs: Change America/Buenos_Aires to
>     America/Argentina/Buenos_Aires for AGT link.
>     * timezones.pl (parseTime): Assume and return wall time.
>     Reindent output.
>     * java/util/TimeZone.java (timezones): Regenerate using tzdata2005l.
> 
> If people could check the results for TimeZone that would be
> appreciated.
> 
> Cheers,
> 
> Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]