Home | History | Annotate | Download | only in intltest

Lines Matching full:time_zone

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