A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
Does jdk131-b24 has fix for DST 2007 ?
Joined: Mar 18, 2005
Jan 05, 2007 04:27:00
Its well known about the U.S. Daylight Saving Time Changes in 2007. My question is - Does jdk131-b24 has fix for DST 2007 ?
Only those who will risk going too far can possibly find out how far one can go !!!
Joined: Aug 05, 2005
Jan 05, 2007 04:57:00
Java DST changes support
Joined: Jun 04, 2003
Jan 11, 2007 13:11:00
I was wondering if we will get affected even if I am not using the
class. For instance, we do use Calendar,
, etc, however we do not use the
class. Please let me know if we still need to use the patch.
Jesper de Jong
Joined: Aug 16, 2005
Jan 12, 2007 00:12:00
behind the scenes. If you print a Date object to the screen by simply using toString() on it:
Date d = new Date();
then Java will print the date in the current time zone, which might be slightly different in summer or winter. For example, if I run this right now I get:
Fri Jan 12 08:10:53 CET 2007
But when it's summertime, the timezone displayed will be "CEST" instead of "CET". So yes, you could be affected even if you don't use class
directly in your source code.
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 7 API documentation
- My blog about Scala
I agree. Here's the link:
subject: Does jdk131-b24 has fix for DST 2007 ?
Daylight saving issue.
Do the JVM's Calendar/Date objects use the system's tzdata for daylight savings time changes?
DST changes 2007
JDK build 1.3.1-b24
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014