File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes DST changes 2007 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "DST changes 2007" Watch "DST changes 2007" New topic
Author

DST changes 2007

sri rallapalli
Ranch Hand

Joined: Mar 15, 2005
Posts: 88
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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39543
    
  27
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?


Ping & DNS - updated with new look and Ping home screen widget
sri rallapalli
Ranch Hand

Joined: Mar 15, 2005
Posts: 88
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.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39543
    
  27
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DST changes 2007
 
Similar Threads
Does jdk131-b24 has fix for DST 2007 ?
obtain historical DSt transitions times
does anybody know Daytime savings issue which is going to happen in 2007 march?
Getting Default TimeZoneID, rawoffset
How can I set timezone for Jboss server