jdktzCheck failure

Description

ant jdktzCheck reports two failures in TimeZoneFormatTest

TestTimeRoundTrip

TestTimeZoneRoundTrip

This is probably related to negative daylight saving time. Checks if JDK already support this - and in this case, find out how to handle it in ICU.

Activity

Show:
TracBot
July 1, 2018, 12:11 AM
Trac Comment 2 by —2018-06-20T23:14:27.110Z

Oracle JDK now supports negative DST offset for Dublin, while ICU/CLDR still do not. As the result, following code snippet

prints out: Thursday, February 1, 2018 at 12:00:00 AM Irish Standard Time

Note: JDK TimeZone for Dublin returns isDST = true on Jan 1, 2018. ICU time zone format look up a DST name for Dublin, and returns "Irish Standard Time" instead of "Greenwich Mean Time".

If I comment out the first line (TimeZone.setDefaultTimeZoneType(TimeZone.TIMEZONE_JDK), then correct format is returned: "Thursday, February 1, 2018 at 12:00:00 AM Greenwich Mean Time"

Assignee

Yoshito Umaoka

Reporter

Yoshito Umaoka

Components

Labels

None

Reviewer

None

Priority

major

Time Needed

None

Fix versions

Configure