Home
last modified time | relevance | path

Searched refs:otz (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1120 BasicTimeZone otz = (BasicTimeZone)TimeZone.getTimeZone(TZID, TimeZone.TIMEZONE_ICU); in TestVTimeZoneCoverage() local
1124 … int offset1 = otz.getOffset(GregorianCalendar.AD, 2007, Calendar.JULY, 1, Calendar.SUNDAY, 0); in TestVTimeZoneCoverage()
1134 otz.getOffset(t, false, offsets1); in TestVTimeZoneCoverage()
1141 if (otz.getRawOffset() != vtz.getRawOffset()) { in TestVTimeZoneCoverage()
1147 if (otz.inDaylightTime(d) != vtz.inDaylightTime(d)) { in TestVTimeZoneCoverage()
1152 if (otz.useDaylightTime() != vtz.useDaylightTime()) { in TestVTimeZoneCoverage()
1165 boolean bSame = otz.hasSameRules(vtz); in TestVTimeZoneCoverage()
1194 TimeZoneTransition tzt1 = otz.getNextTransition(base, true); in TestVTimeZoneCoverage()
1199 tzt1 = otz.getPreviousTransition(base, false); in TestVTimeZoneCoverage()
1208 if (!vtz.hasEquivalentTransitions(otz, time1, time2)) { in TestVTimeZoneCoverage()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1622 BasicTimeZone *otz = (BasicTimeZone*)TimeZone::createTimeZone(TZID); in TestVTimeZoneCoverage() local
1626 …int32_t offset1 = otz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, status… in TestVTimeZoneCoverage()
1639 offset1 = otz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, 31, status); in TestVTimeZoneCoverage()
1657 otz->getOffset(t, FALSE, rawOffset1, dstSavings1, status); in TestVTimeZoneCoverage()
1670 if (otz->getRawOffset() != vtz->getRawOffset()) { in TestVTimeZoneCoverage()
1676 inDst1 = otz->inDaylightTime(t, status); in TestVTimeZoneCoverage()
1689 if (otz->useDaylightTime() != vtz->useDaylightTime()) { in TestVTimeZoneCoverage()
1702 UBool bSame = otz->hasSameRules(*vtz); in TestVTimeZoneCoverage()
1729 UBool btr1 = otz->getNextTransition(base, TRUE, tzt1); in TestVTimeZoneCoverage()
1734 btr1 = otz->getPreviousTransition(base, FALSE, tzt1); in TestVTimeZoneCoverage()
[all …]
/external/icu/icu4c/source/i18n/
Dzonemeta.cpp383 const OlsonTimeZone *otz = (const OlsonTimeZone*)&tz; in getCanonicalCLDRID() local
384 return otz->getCanonicalID(); in getCanonicalCLDRID()
887 const OlsonTimeZone *otz = (const OlsonTimeZone*)&tz; in getShortID() local
888 canonicalID = otz->getCanonicalID(); in getShortID()