Re: Diagnose why Pacific TZ has wrong start/stop dates for DST, with
JDK 1.6 on Ubuntu
David Karr
No, as I said in the original post, all non-Java applications do not
display this symptom. I
Roedy Green wrote:
on the other paw, people running other Java apps on other platforms
don't see your problem. So the problem could be with:
1. your app
2. some sort of tables unique to the Ubuntu-Java combo you are using.
I'm running Java 1.6.0-13 on Ubuntu 8.10 and the OP's test program (modified
to coerce the same date/time as his example) shows:
date[Mon Apr 13 16:04:01 EDT 2009] zonename[Pacific Standard Time]
dstSavings[3600000] usesDST[true] inDST[true] rawOffset[-28800000]
offset[-25200000]
date[Mon Apr 13 13:04:01 PDT 2009] inDST[true]
date[Wed May 13 13:04:01 PDT 2009] inDST[true]
date[Sat Jun 13 13:04:01 PDT 2009] inDST[true]
date[Mon Jul 13 13:04:01 PDT 2009] inDST[true]
date[Thu Aug 13 13:04:01 PDT 2009] inDST[true]
date[Sun Sep 13 13:04:01 PDT 2009] inDST[true]
date[Tue Oct 13 13:04:01 PDT 2009] inDST[true]
date[Fri Nov 13 13:04:01 PST 2009] inDST[false]
date[Sun Dec 13 13:04:01 PST 2009] inDST[false]
date[Wed Jan 13 13:04:01 PST 2010] inDST[false]
date[Sat Feb 13 13:04:01 PST 2010] inDST[false]
date[Sat Mar 13 13:04:01 PST 2010] inDST[false]
date[Sun Apr 26 24:00:00 PDT 2009] inDST[true]
date[Mon Apr 27 24:00:00 PDT 2009] inDST[true]
date[Sun Oct 25 24:00:00 PDT 2009] inDST[true]
date[Mon Oct 26 24:00:00 PDT 2009] inDST[true]
--
Lew