-
Enhancement
-
Resolution: Fixed
-
P3
-
1.3.0, 1.3.1_11
-
beta2
-
x86
-
windows_nt, windows_2000
Name: rlT66838 Date: 12/04/99
Times seem to be off by an hour on machines which have turned off the "Automatically adjust clock for daylight savings changes" option from the Windows control panel's Date/Time tab.
Sample Code
-----------
public class dst
{
public static void main(String[] args)
{
System.out.println(new java.util.Date());
}
}
Results
-------
Run this class with the "Automatically adjust..." flag turned on, and the resulting time matches the windows system clock. Then turn off the flag and try again. This time, the resulting time will be off from the Windows System time by 1 hour.
(Review ID: 94196)
======================================================================
- duplicates
-
JDK-5088889 Date() does not report correct system time
- Closed
- relates to
-
JDK-6224672 Fix for escalation 1-3216881 broken for time zone issue with date on windows
- Resolved
-
JDK-5033603 TimeZone doesn't detect "Automatically adjust clock for daylight saving changes"
- Resolved
-
JDK-7094176 (tz) Incorrect TimeZone display name when DST not applicable / disabled
- Resolved
-
JDK-6530295 (tz) Change in output with Auto DST On/Off with Windows XP and Windows 2000
- Closed