Changes to time zones do occur from time to time, I know every year in the UK there seems to be talk that we should scrap GMT or use “double summer time”.
When these changes occur, I guess that any dates obtained via the TimeZone or Calendar based classes on an old version of Java will potentially give you incorrect data. Short of just updating your Java version all the time is there a way around this e.g. like an always up-to-date patch file you can put into you application?
Also, is the problem fixable for Applets in the same way – since your not directly in control of the Java version / update on which the application is run?
The best solution is to upgrade to the latest JRE and JDK.
If this is not possible for whatever reason, SUN makes a tool available for updating the timezone table to the latest one. You can find the
TZUpdaterhere