/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 222 AnnualTimeZoneRule tzr; in TestHistoricalRuleBasedTimeZone() local 227 … tzr = new AnnualTimeZoneRule("EST", -5*HOUR /* rawOffset */, 0 /* dstSavings */, dtr, 1967, 2006); in TestHistoricalRuleBasedTimeZone() 228 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 232 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone() 233 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 238 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1967, 1973); in TestHistoricalRuleBasedTimeZone() 239 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 243 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1974, 1974); in TestHistoricalRuleBasedTimeZone() 244 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 248 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1975, 1975); in TestHistoricalRuleBasedTimeZone() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 218 AnnualTimeZoneRule tzr; in TestHistoricalRuleBasedTimeZone() local 223 … tzr = new AnnualTimeZoneRule("EST", -5*HOUR /* rawOffset */, 0 /* dstSavings */, dtr, 1967, 2006); in TestHistoricalRuleBasedTimeZone() 224 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 228 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone() 229 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 234 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1967, 1973); in TestHistoricalRuleBasedTimeZone() 235 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 239 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1974, 1974); in TestHistoricalRuleBasedTimeZone() 240 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone() 244 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1975, 1975); in TestHistoricalRuleBasedTimeZone() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 439 AnnualTimeZoneRule *tzr; in TestHistoricalRuleBasedTimeZone() local 444 tzr = new AnnualTimeZoneRule("EST", -5*HOUR /*rawOffset*/, 0 /*dstSavings*/, dtr, 1967, 2006); in TestHistoricalRuleBasedTimeZone() 445 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone() 452 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone() 453 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone() 461 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1967, 1973); in TestHistoricalRuleBasedTimeZone() 462 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone() 469 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1974, 1974); in TestHistoricalRuleBasedTimeZone() 470 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone() 477 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 1975, 1975); in TestHistoricalRuleBasedTimeZone() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | StringTokenizerTest.java | 463 StringTokenizer tzr = new StringTokenizer(s1); in TestBug4423() local 466 int t = tzr.countTokens(); in TestBug4423() 470 while (tzr.hasMoreTokens()) { in TestBug4423() 471 String tok = tzr.nextToken(); in TestBug4423()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | StringTokenizerTest.java | 467 StringTokenizer tzr = new StringTokenizer(s1); in TestBug4423() local 470 int t = tzr.countTokens(); in TestBug4423() 474 while (tzr.hasMoreTokens()) { in TestBug4423() 475 String tok = tzr.nextToken(); in TestBug4423()
|
/external/icu/icu4c/source/i18n/ |
D | vtzone.cpp | 1687 TimeZoneRule *tzr = (TimeZoneRule*)rules->orphanElementAt(0); in parse() local 1688 rbtz->addTransitionRule(tzr, status); in parse()
|