Home
last modified time | relevance | path

Searched refs:rbtz (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp439 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone("EST5EDT", ir); in TestHistoricalRuleBasedTimeZone() local
448 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
456 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
465 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
473 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
481 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
489 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
497 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
505 rbtz->addTransitionRule(tzr, status); in TestHistoricalRuleBasedTimeZone()
510 rbtz->complete(status); in TestHistoricalRuleBasedTimeZone()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java223 RuleBasedTimeZone rbtz = new RuleBasedTimeZone("EST5EDT", ir); in TestHistoricalRuleBasedTimeZone() local
232 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
237 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
243 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
248 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
253 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
258 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
263 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
268 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
275 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone()
[all …]
DTimeZoneTest.java2037 RuleBasedTimeZone rbtz = (RuleBasedTimeZone)thawedZones[i]; in checkThawed() local
2041 rbtz.addTransitionRule(tr1); in checkThawed()
2141 RuleBasedTimeZone rbtz = (RuleBasedTimeZone)frozenZones[i]; in checkFrozen() local
2145 rbtz.addTransitionRule(tr1); in checkFrozen()
2187 RuleBasedTimeZone rbtz = createRBTZ((BasicTimeZone)tz, current); in TestObservesDaylightTime() local
2188 boolean observesDaylightRBTZ = rbtz.observesDaylightTime(); in TestObservesDaylightTime()
2189 if (observesDaylightRBTZ != isDaylightTimeAvailable(rbtz, current)) { in TestObservesDaylightTime()
2190 …eBasedTimeZone] observesDaylightTime() returned " + observesDaylightRBTZ + " for " + rbtz.getID()); in TestObservesDaylightTime()
2192 …errln("Fail: RuleBasedTimeZone " + rbtz.getID() + " returns " + observesDaylightRBTZ + ", but diff… in TestObservesDaylightTime()
2268 … RuleBasedTimeZone rbtz = new RuleBasedTimeZone("RBTZ:btz.getID()", (InitialTimeZoneRule)rules[0]); in createRBTZ() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java220 RuleBasedTimeZone rbtz = new RuleBasedTimeZone("EST5EDT", ir); in TestHistoricalRuleBasedTimeZone() local
229 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
234 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
240 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
245 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
250 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
255 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
260 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
265 rbtz.addTransitionRule(tzr); in TestHistoricalRuleBasedTimeZone()
272 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone()
[all …]
DTimeZoneTest.java2034 RuleBasedTimeZone rbtz = (RuleBasedTimeZone)thawedZones[i]; in checkThawed() local
2038 rbtz.addTransitionRule(tr1); in checkThawed()
2138 RuleBasedTimeZone rbtz = (RuleBasedTimeZone)frozenZones[i]; in checkFrozen() local
2142 rbtz.addTransitionRule(tr1); in checkFrozen()
2184 RuleBasedTimeZone rbtz = createRBTZ((BasicTimeZone)tz, current); in TestObservesDaylightTime() local
2185 boolean observesDaylightRBTZ = rbtz.observesDaylightTime(); in TestObservesDaylightTime()
2186 if (observesDaylightRBTZ != isDaylightTimeAvailable(rbtz, current)) { in TestObservesDaylightTime()
2187 …eBasedTimeZone] observesDaylightTime() returned " + observesDaylightRBTZ + " for " + rbtz.getID()); in TestObservesDaylightTime()
2189 …errln("Fail: RuleBasedTimeZone " + rbtz.getID() + " returns " + observesDaylightRBTZ + ", but diff… in TestObservesDaylightTime()
2265 … RuleBasedTimeZone rbtz = new RuleBasedTimeZone("RBTZ:btz.getID()", (InitialTimeZoneRule)rules[0]); in createRBTZ() local
[all …]
/external/icu/icu4c/source/i18n/
Dvtzone.cpp1357 RuleBasedTimeZone *rbtz = NULL; in parse() local
1597 rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse()
1598 if (rbtz == NULL) { in parse()
1690 rbtz->addTransitionRule(tzr, status); in parse()
1695 rbtz->complete(status); in parse()
1702 tz = rbtz; in parse()
1720 if (rbtz != NULL) { in parse()
1721 delete rbtz; in parse()
1781 RuleBasedTimeZone rbtz(tzid, initial); in write() local
1785 rbtz.addTransitionRule(tr, status); in write()
[all …]
Drbtz.cpp100 RuleBasedTimeZone *rbtz = (RuleBasedTimeZone*)&that; in operator ==() local
101 if (*fInitialRule != *(rbtz->fInitialRule)) { in operator ==()
104 if (compareRules(fHistoricRules, rbtz->fHistoricRules) in operator ==()
105 && compareRules(fFinalRules, rbtz->fFinalRules)) { in operator ==()
DMakefile.in93 wintzimpl.o windtfmt.o winnmfmt.o basictz.o dtrule.o rbtz.o tzrule.o tztrans.o vtzone.o zonemeta.o \
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java263 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in write() local
265 rbtz.addTransitionRule(rules[i]); in write()
273 writeZone(writer, rbtz, customProperties); in write()
295 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in writeSimple() local
297 rbtz.addTransitionRule(rules[i]); in writeSimple()
305 writeZone(writer, rbtz, customProperties); in writeSimple()
740 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() local
811 rbtz.addTransitionRule(r); in parse()
814 tz = rbtz; in parse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java286 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in write() local
288 rbtz.addTransitionRule(rules[i]); in write()
296 writeZone(writer, rbtz, customProperties); in write()
320 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tz.getID(), (InitialTimeZoneRule)rules[0]); in writeSimple() local
322 rbtz.addTransitionRule(rules[i]); in writeSimple()
330 writeZone(writer, rbtz, customProperties); in writeSimple()
771 RuleBasedTimeZone rbtz = new RuleBasedTimeZone(tzid, initialRule); in parse() local
842 rbtz.addTransitionRule(r); in parse()
845 tz = rbtz; in parse()
/external/icu/icu4c/source/test/hdrtst/
Dcxxfiles.txt80 rbtz.h
/external/skia/third_party/icu/
Dicu.gni665 "$_src/i18n/rbtz.cpp",
794 "$_src/i18n/unicode/rbtz.h",
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt976 basictz.o olsontz.o rbtz.o simpletz.o timezone.o tzrule.o tztrans.o
/external/skqp/third_party/icu/
Dicu.gni567 "../externals/icu/source/i18n/rbtz.cpp",