This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hello, Actually i was running my application with java 1.1.7B version, it does not support latest DST(day light saving) changes for 2007. New version of java, they are taking care of this DST(day light saving) changes. So can anybody help me how to do, if possible with sample code the DST(day light saving) changes for java1.1.7. Regards, Sri.
That's a tough one, as the knowledge about timezones touches on a lot of code. But I think (not sure) that the major change is that the DST begins and ends on a different day in the USA. So only if you have dates that refer to the US would you have to change anything. And only if those dates are between the new start (end) of DST and the former start (end) of DST is there a need to adjust them by an hour.
I'd advise to get ahold of a description of the exact changes to DST, and analyze how they might affect any code of yours. And, of course, to upgrade to a more recent JDK ASAP. What is the reson you're still working with 1.1.7?
Hi Dlf, thanks for the reply. we are using swings in our application, we are still using older version of swings, so we are using 1.1.7B. Actually in 2007, it is beggining on march 11th, and ending on 4th november. So i would like to know what needs to be done in this particula period. Sri.
Joined: Mar 22, 2005
we are using swings in our application, we are still using older version of swings, so we are using 1.1.7B.
The only thing that changed with respect to Swing (not "swings") are the package names, which a quick search and replace through the source code will fix. If that's the only reason for using JDK 1.1, I'd upgrade sooner rather than later.
So i would like to know what needs to be done in this particula period.
I outlined what needs to be done in my previous post. What are you unclear about?