United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4263805 (tz) need complete support of POSIX TZ syntax
4263805 : (tz) need complete support of POSIX TZ syntax

Details
Type:
Enhancement
Submit Date:
1999-08-19
Status:
Open
Updated Date:
2009-03-25
Project Name:
JDK
Resolved Date:
Component:
core-libs
OS:
solaris_7,linux,generic,windows_xp
Sub-Component:
java.util:i18n
CPU:
x86,sparc,generic
Priority:
P5
Resolution:
Unresolved
Affected Versions:
1.3.0,1.4.0,5.0,6
Targeted Versions:

Related Reports
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
The current Solaris-to-Java time zone mapping ignores DST rules for the numerical mapping and may pick up a wrong time zone that has different DST rules if the TZ value is set to define time zone rules (rather than a zone ID).

For example, TZ=XST7XDT8,0/0:00,0/1:00 is mapped to America/Denver which has the different DST schedule. (This TZ value is used in a regression test and this wrong result is taken as a correct behavior.)

                                    

Comments
SUGGESTED FIX

The TZ value has to be parsed and generate parameters for TimeZone construction.

Need to dynamically register time zone abbreviations in a TimeZone object.
masayoshi.okutsu@Eng 1999-08-19
                                     
1999-08-19
EVALUATION

At least the wrong mapping must be fixed.
masayoshi.okutsu@Eng 1999-08-19
                                     
1999-08-19



Hardware and Software, Engineered to Work Together