Well, it is ICU's implementation. It returns OlsonTimeZone for those predefined zones, like "Europe/London" in my test, and returns SimpleTimeZone for custimized zones. I think it is resonable since only the predefined timezone need to query the data in CLDR.
If we delegate our impl to SimpleTimeZone directly, we will never get the correct data for these predefined zones, does it make sense? On 11/15/07, Aleksey Shipilev <[EMAIL PROTECTED]> wrote: > Hi, Tony! > > > I've reported it to icu bug tracker, > > http://bugs.icu-project.org/trac/ticket/6027 > Thanks for forwarding it. BTW, as I see in the microtest for that > issue com.ibm.icu.util.SimpleTimeZone performs well. > So, why not to use com.ibm.icu.util.*SimpleTimeZone* instead of > com.ibm.icu.util.TimeZone in our java.util.SimpleTimeZone > implementation? > This will eliminate the problematic call and solve part of the > performance problems mentioned in HARMONY-5122 [1]. > > [1] http://issues.apache.org/jira/browse/HARMONY-5122 > > Thanks, > Aleksey. > -- Tony Wu China Software Development Lab, IBM
