Lines Matching full:getoffset
272 // getOffset
304 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
306 errln("FAIL: getOffset(7 args) failed.");
318 rbtz1->getOffset(time, TRUE, offset, dstSavings, status);
320 errln("FAIL: getOffset(5 args) failed.");
343 offset = rbtz1->getOffset(era, year, month, dayOfMonth, dayOfWeek, millisInDay, status);
345 errln("FAIL: getOffset(7 args) failed.");
357 rbtz1->getOffset(time, TRUE, offset, dstSavings, status);
359 errln("FAIL: getOffset(5 args) failed.");
570 // Check getOffset - must return the same results for these time data
571 rbtz->getOffset(times[i], FALSE, offset1, dst1, status);
573 errln("FAIL: rbtz->getOffset failed");
575 ny->getOffset(times[i], FALSE, offset2, dst2, status);
577 errln("FAIL: ny->getOffset failed");
828 tz->getOffset(startTime, FALSE, raw1, dst1, status);
829 vtz_new->getOffset(startTime, FALSE, raw2, dst2, status);
831 errln("FAIL: error status is returned from getOffset");
918 tz->getOffset(startTime, FALSE, raw1, dst1, status);
919 vtz_new->getOffset(startTime, FALSE, raw2, dst2, status);
921 errln("FAIL: error status is returned from getOffset");
1011 vtz_org->getOffset(time, FALSE, raw0, dst0, status);
1012 vtz_new->getOffset(time, FALSE, raw1, dst1, status);
1019 errln("FAIL: getOffset returns error status");
1183 tz->getOffset(testTimes[i], FALSE, raw0, dst0, status);
1187 rbtz->getOffset(testTimes[i], FALSE, raw1, dst1, status);
1626 // getOffset(era, year, month, day, dayOfWeek, milliseconds, ec)
1627 int32_t offset1 = otz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, status);
1629 errln("FAIL: getOffset(7 args) failed for otz");
1631 int32_t offset2 = vtz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, status);
1633 errln("FAIL: getOffset(7 args) failed for vtz");
1636 errln("FAIL: getOffset(7 args) returned different results in VTimeZone and OlsonTimeZone");
1639 // getOffset(era, year, month, day, dayOfWeek, milliseconds, monthLength, ec)
1640 offset1 = otz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, 31, status);
1642 errln("FAIL: getOffset(8 args) failed for otz");
1644 offset2 = vtz->getOffset(GregorianCalendar::AD, 2007, UCAL_JULY, 1, UCAL_SUNDAY, 0, 31, status);
1646 errln("FAIL: getOffset(8 args) failed for vtz");
1649 errln("FAIL: getOffset(8 args) returned different results in VTimeZone and OlsonTimeZone");
1653 // getOffset(date, local, rawOffset, dstOffset, ec)
1658 otz->getOffset(t, FALSE, rawOffset1, dstSavings1, status);
1660 errln("FAIL: getOffset(5 args) failed for otz");
1662 vtz->getOffset(t, FALSE, rawOffset2, dstSavings2, status);
1664 errln("FAIL: getOffset(5 args) failed for vtz");
1667 errln("FAIL: getOffset(long,boolean,int[]) returned different results in VTimeZone and OlsonTimeZone");
1878 tokyo->getOffset(Calendar::getNow(), FALSE, rawOffset, dstSavings, status);
1880 errln("FAIL: getOffset failed for tokyo");
2139 vtz->getOffset(times[j], FALSE, raw, dst, status);
2141 errln((UnicodeString)"FAIL: getOffset failed for time zone " + i + " at " + times[j]);
2351 icutz.getOffset(time, FALSE, raw, dst, status);
2352 icutz.getOffset(time - 1, FALSE, raw0, dst0, status);
2354 errln("FAIL: Error in getOffset");
2384 icutz.getOffset(time, FALSE, raw, dst, status);
2385 icutz.getOffset(time - 1, FALSE, raw0, dst0, status);
2387 errln("FAIL: Error in getOffset");
2536 tz1.getOffset(start, FALSE, raw1, dst1, status);
2540 tz2.getOffset(start, FALSE, raw2, dst2, status);