Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4296930

RFE: Win32: Incorrect time when "Automatically adjust for DST" deselected

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 1.3.0, 1.3.1_11
    • 1.4.0
    • core-libs
    • beta2
    • x86
    • windows_nt, windows_2000

    Description



      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)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              okutsu Masayoshi Okutsu
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: