Home
last modified time | relevance | path

Searched refs:tzr (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java222 AnnualTimeZoneRule tzr; in TestHistoricalRuleBasedTimeZone() local
227tzr = 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/
DTimeZoneRuleTest.java218 AnnualTimeZoneRule tzr; in TestHistoricalRuleBasedTimeZone() local
223tzr = 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/
Dtzrulets.cpp439 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/
DStringTokenizerTest.java463 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/
DStringTokenizerTest.java467 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/
Dvtzone.cpp1687 TimeZoneRule *tzr = (TimeZoneRule*)rules->orphanElementAt(0); in parse() local
1688 rbtz->addTransitionRule(tzr, status); in parse()