Searched refs:tz2 (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtztest.cpp785 TimeZone *tz2 = TimeZone::createTimeZone(zone2); variable
790 if (!tz2) {
794 if (tz1 && tz2) {
796 tz2->setID(tz1->getID(itsID));
798 if (*tz1 != *tz2) {
808 delete tz2;
1537 TimeZone* tz2 = TimeZone::createTimeZone(*id2);
1538 if(tz1->hasSameRules(*tz2)){
1541 delete tz2;
1649 SimpleTimeZone tz2(
[all...]
H A Dtzregts.cpp549 // tz1 and tz2 have no DST and different rule parameters
551 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); local
561 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
569 if (!tz1->hasSameRules(*tz2)) {
572 //errln("zone 2 = " + tz2);
576 delete tz2;
H A Dincaltst.cpp165 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); local
166 if(tz1 != tz2) {
167 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
H A Dtzrulets.cpp51 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
2524 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, argument
2531 if (tz1.hasSameRules(tz2)) {
2540 tz2.getOffset(start, FALSE, raw2, dst2, status);
2560 UBool avail2 = tz2.getNextTransition(time, FALSE, tr2);
2581 tz2.getNextTransition(tr2.getTime(), FALSE, tr2);
/external/icu4c/test/intltest/
H A Dtztest.cpp998 TimeZone *tz2 = TimeZone::createTimeZone(zone2); local
1003 if (!tz2) {
1007 if (tz1 && tz2) {
1009 tz2->setID(tz1->getID(itsID));
1011 if (*tz1 != *tz2) {
1021 delete tz2;
1754 TimeZone* tz2 = TimeZone::createTimeZone(*id2); local
1755 if(tz1->hasSameRules(*tz2)){
1758 delete tz2;
1866 SimpleTimeZone tz2(
[all...]
H A Dtzregts.cpp553 // tz1 and tz2 have no DST and different rule parameters
555 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); local
565 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
573 if (!tz1->hasSameRules(*tz2)) {
576 //errln("zone 2 = " + tz2);
580 delete tz2;
H A Dincaltst.cpp165 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); local
166 if(tz1 != tz2) {
167 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
H A Dtzrulets.cpp51 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
2525 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, argument
2532 if (tz1.hasSameRules(tz2)) {
2541 tz2.getOffset(start, FALSE, raw2, dst2, status);
2561 UBool avail2 = tz2.getNextTransition(time, FALSE, tr2);
2582 tz2.getNextTransition(tr2.getTime(), FALSE, tr2);

Completed in 198 milliseconds