ICU-10222 Fix failing TimeUnitTest.java the cldr path for duration units changed units -> units/duration; unitsShort -> unitsShort/duration.

X-SVN-Rev: 33971
This commit is contained in:
Travis Keep 2013-07-23 23:17:32 +00:00
parent a4761909ac
commit 90f5a56a9d

View File

@ -381,8 +381,8 @@ public class TimeUnitFormat extends MeasureFormat {
timeUnitToCountToPatterns = new HashMap<TimeUnit, Map<String, Object[]>>();
Set<String> pluralKeywords = pluralRules.getKeywords();
setup("units", timeUnitToCountToPatterns, FULL_NAME, pluralKeywords);
setup("unitsShort", timeUnitToCountToPatterns, ABBREVIATED_NAME, pluralKeywords);
setup("units/duration", timeUnitToCountToPatterns, FULL_NAME, pluralKeywords);
setup("unitsShort/duration", timeUnitToCountToPatterns, ABBREVIATED_NAME, pluralKeywords);
isReady = true;
}