|
|
|
1000 Java Tips ebook
|
|
 

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!. |
|
New Daylight Saving rules in USA and Java?
|
JavaFAQ Home » General Java

Question: How U.S. and Australia Daylight Saving Time Changes in 2007 affect my Java applications?
Answer: The United States has planned a change to its DST (Daylight Saving Time) at the beginning of 2007.
The DST will start on the second Sunday in March and end on the first Sunday in November.
In 2007, the start and stop dates will be March 11 and November 4, respectively. Observer that these dates are different from previous DST start and stop dates. In 2006 for example, respective dates were the first Sunday in April (April 2, 2006) and the last Sunday in October (October 29, 2006).
The rules about DST observance all around the globe are stored in the Java Runtime Environment (JRE) . Older JREs will have outdated rules and therefore all programs will use wrong time during the short period of time...
Solution: To get correct rules you need to update your JRE from the SUN site. The listed below Java versions have new updated rules:
Look also at Calendar, SimpleDateFormat and GregorianCalendar Java Code examples. Printer Friendly Page
Send to a Friend
..
Search here again if you need more info!
|
|
|