JDK-4037469 : TimeZone.getDefault doesn't function per spec
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-03-07
  • Updated: 1997-10-23
  • Resolved: 1997-10-23
Related Reports
Duplicate :  
Description

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 - ###@###.###
======================================================================

Comments
WORK AROUND Name: mc57594 Date: 03/07/97 ======================================================================
11-06-2004