Lines Matching refs:tz

87 UDate TimeZoneRegressionTest::findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max) {  in findTransitionBinary()  argument
89 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionBinary()
91 if (tz.inDaylightTime(max, status) == startsInDST) { in findTransitionBinary()
98 if (tz.inDaylightTime(mid, status) == startsInDST) { in findTransitionBinary()
108 UDate TimeZoneRegressionTest::findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max… in findTransitionStepwise() argument
110 UBool startsInDST = tz.inDaylightTime(min, status); in findTransitionStepwise()
113 if (tz.inDaylightTime(min, status) != startsInDST) { in findTransitionStepwise()
209 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4084933() local
211 int32_t offset1 = tz->getOffset(1, in Test4084933()
213 int32_t offset2 = tz->getOffset(1, in Test4084933()
216 int32_t offset3 = tz->getOffset(1, in Test4084933()
218 int32_t offset4 = tz->getOffset(1, in Test4084933()
225 int32_t offset5 = tz->getOffset(1, in Test4084933()
227 int32_t offset6 = tz->getOffset(1, in Test4084933()
229 int32_t offset5a = tz->getOffset(1, in Test4084933()
231 int32_t offset6a = tz->getOffset(1, in Test4084933()
233 int32_t offset7 = tz->getOffset(1, in Test4084933()
235 int32_t offset8 = tz->getOffset(1, in Test4084933()
256 delete tz; in Test4084933()
460 TimeZone *tz = TimeZone::createTimeZone("PST"); in Test4126678() local
461 cal->adoptTimeZone(tz); in Test4126678()
465 if (! tz->useDaylightTime() || U_FAILURE(status)) in Test4126678()
481 …int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); in Test4126678()
482 int32_t raw_offset = tz->getRawOffset(); in Test4126678()
805 TimeZone *tz = TimeZone::createDefault(); in Test4154650() local
811 tz->getOffset((uint8_t)DATA[i+1], DATA[i+2], DATA[i+3], in Test4154650()
831 delete tz; in Test4154650()
883 TimeZone *tz = (TimeZone*)DATA_TZ[j]; in Test4162593() local
884 TimeZone::setDefault(*tz); in Test4162593()
885 fmt->setTimeZone(*tz); in Test4162593()
893 logln(tz->getID(temp) + ":"); in Test4162593()