<i18n dev> Jordan (Asia/Amman) versus SimpleTimeZone
Mark Wielaard
mark at klomp.org
Sat Aug 29 13:41:14 PDT 2009
Hi,
I was debugging the following bug report:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=377
"TimeZone.getOffset() fails for some TZ"
The issue is caused because there is a start rule in the Asia/Amman
timezone that starts at the end of a day. SimpleTimeZone doesn't allow
that. I have a simple "fix" (attached), but I haven't fully tested it
yet, and don't know if there could be other problems with allowing a
rule to start on the last milisecond of a day.
I noticed there is a similar bug report here:
http://bugs.sun.com/view_bug.do?bug_id=6851214
That is marked as "State 11-Closed, Verified, bug".
There is however very little information on how this was fixed.
Does anybody on this list know more?
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-simpletimezone-relax.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/i18n-dev/attachments/20090829/c0984207/attachment.bin
More information about the i18n-dev
mailing list