Test failure in format/TimeZoneTest/TestShortZoneIDs

Description

ICU4C test case TestShortZoneIDs started failing since the beginning of this year.

The test case calls useDaylightTime and check if the returned value matches the hardcoded test data. "PLT" is an alias of "Asia/Karachi" defined by ICU for JDK compatibility support. The zone used daylight saving time in year 2008 (tzdata 2008c). But as of now, no plan for 2009. useDaylightTime checks if DST is observed in the current calendar year. Thus, it used to return true until Jan 1, 2009. We could simply change the test data to false to get rid of this problem. However, it looks such test case introduce confusions to ICU users who maintain tzdata (and run the test for verification). We should find out a better solution to make test case more stable.

For ICU4J, the test data for "PLT" was commented out because ICU4J used to rely on JDK TimeZone data and the implementation for "PLT" was not stable. There is no good reason to skip the test data now, because ICU4J has its own data.

Activity

Show:
TracBot
July 1, 2018, 12:00 AM
Trac Comment 3 by kareem198625@d30663cb0bed6080—2009-12-18T05:38:49.000Z

There is a good thing which will make some people feel happy and excited. The thing is that the<a href="http://www.store2n.com"> Ugg Boots Cheap</a> are becoming more and more popular. The person is some one who is the fan of Ugg Boots and wear and believe <STRONG><A href="http://www.store2n.com/">Ugg Boots</A></STRONG> for many years. now<a href="http://www.store2n.com"> discount ugg boots sale </a>http://www.store2n.com

TracBot
July 1, 2018, 12:00 AM
Trac Comment 4 by —2016-10-05T23:15:37.259Z

Milestone 4.1.2 deleted

Fixed

Assignee

Yoshito Umaoka

Reporter

Yoshito Umaoka

Components

Labels

None

Reviewer

None

Priority

assess

Time Needed

None

Fix versions