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

TIME problems in UK: How do I get "British Summer Time"?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.5, 1.2.0
    • core-libs



      Name: tb29552 Date: 03/31/98


      The clocks just went forward in the U.K. to
      daylight savings time, or British Summer Time
      as it is known locally.

      I note from Bug 4064735 that the GMT timezone
      (which is the default I get when I installed
      JDK 1.2b3, and JDK 115) no longer uses daylight
      savings time
      (i.e. TimeZone.getDefault().useDaylightTime() =
      false)

      This means that when I try to get the time using
      Calendar.getInstance() it is an hour out. The clock
      on my NT task bar s correct.

      THIS IS VERY SERIOUS.

      1) Should I be using another timezone, if so
      which one is the correct one for the U.K (I can't
      find this in the javadoc

      2) If there is a correct time zone for the U.K,
      why did the install of the JDK not set this as
      my default time zone.

      I NOW HAVE NO IDEA HOW TO GET THE CORRECT LOCAL
      TIME !

      Please help !

      Rob
      (Review ID: 27531)
      ======================================================================

            aliusunw Alan Liu (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: