Lines Matching refs:time_zone
189 TimeZoneBoundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expIn… in verifyDST() argument
193 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str)); in verifyDST()
194 if (time_zone->inDaylightTime(d, status) == expInDaylightTime) in verifyDST()
195 …logln(UnicodeString("PASS: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":"fal… in verifyDST()
197 …dataerrln(UnicodeString("FAIL: inDaylightTime = ") + (time_zone->inDaylightTime(d, status)?"true":… in verifyDST()
200 if (time_zone->useDaylightTime() == expUseDaylightTime) in verifyDST()
201 … logln(UnicodeString("PASS: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false")); in verifyDST()
203 …dataerrln(UnicodeString("FAIL: useDaylightTime = ") + (time_zone->useDaylightTime()?"true":"false"… in verifyDST()
204 if (time_zone->getRawOffset() == expZoneOffset) in verifyDST()
207 …dataerrln(UnicodeString("FAIL: getRawOffset() = ") + (time_zone->getRawOffset() / ONE_HOUR) + "; … in verifyDST()
209 GregorianCalendar *gc = new GregorianCalendar(time_zone->clone(), status); in verifyDST()
212 int32_t offset = time_zone->getOffset((uint8_t)gc->get(UCAL_ERA, status), in verifyDST()