Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

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 Go to all tips in General Java


Bookmark and Share

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  Printer Friendly Page
 Send to a Friend  Send to a Friend

.. Bookmark and Share

Search here again if you need more info!
Custom Search



Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy