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

TimeZone.getDefault doesn't function per spec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1
    • core-libs
    • None
    • x86
    • windows_95



      Name: mc57594 Date: 03/07/97


      TimeZone.getDefault() always returns GMT, even though Win95
      is set up to know my current timezone is MST.

      I've traced through the TimeZone and System classes; it appears
      that the default time zone is filled in based on querying for
      the user.timezone property. But there isn't any documentation
      about how I set this up.

      I need to be able to get the current time (in the time zone
      where the applet is running), and format it accoring to the
      rules of a given Locale.
      company - Hewlett-Packard, Co. , email - ###@###.###
      ======================================================================

            ssenthilsunw Shanmugam Senthil (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: