Searched defs:tz1 (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/icu/source/test/intltest/
H A Dincaltst.cpp164 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); local
166 if(tz1 != tz2) {
167 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
H A Dtzregts.cpp553 // tz1 and tz2 have no DST and different rule parameters
554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); local
565 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
573 if (!tz1->hasSameRules(*tz2)) {
575 //errln("zone 1 = " + tz1);
579 delete tz1;
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)) {
2537 tz1.getOffset(start, FALSE, raw1, dst1, status);
2560 UBool avail1 = tz1.getNextTransition(time, FALSE, tr1);
2571 tz1.getNextTransition(tr1.getTime(), FALSE, tr1);
H A Dtztest.cpp999 TimeZone *tz1 = TimeZone::createTimeZone(zone1); local
1002 if (!tz1) {
1009 if (tz1 && tz2) {
1011 tz2->setID(tz1->getID(itsID));
1013 if (*tz1 != *tz2) {
1022 delete tz1;
1750 TimeZone* tz1 = TimeZone::createTimeZone(*id1); local
1757 if(tz1->hasSameRules(*tz2)){
1762 delete tz1;
1853 SimpleTimeZone tz1(
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dincaltst.cpp161 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); local
163 if(tz1 != tz2) {
164 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
H A Dtzregts.cpp553 // tz1 and tz2 have no DST and different rule parameters
554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); local
565 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
573 if (!tz1->hasSameRules(*tz2)) {
575 //errln("zone 1 = " + tz1);
579 delete tz1;
H A Dtzrulets.cpp49 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
2523 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, argument
2530 if (tz1.hasSameRules(tz2)) {
2535 tz1.getOffset(start, FALSE, raw1, dst1, status);
2558 UBool avail1 = tz1.getNextTransition(time, FALSE, tr1);
2569 tz1.getNextTransition(tr1.getTime(), FALSE, tr1);
H A Dtztest.cpp990 TimeZone *tz1 = TimeZone::createTimeZone(zone1); local
993 if (!tz1) {
1000 if (tz1 && tz2) {
1002 tz2->setID(tz1->getID(itsID));
1004 if (*tz1 != *tz2) {
1013 delete tz1;
1741 TimeZone* tz1 = TimeZone::createTimeZone(*id1); local
1748 if(tz1->hasSameRules(*tz2)){
1753 delete tz1;
1844 SimpleTimeZone tz1(
[all...]

Completed in 180 milliseconds