Lines Matching refs:UDate
67 const UDate TimeZoneBoundaryTest::PST_1997_BEG = 860320800000.0;
69 const UDate TimeZoneBoundaryTest::PST_1997_END = 877856400000.0;
71 const UDate TimeZoneBoundaryTest::INTERVAL = 10;
76 TimeZoneBoundaryTest::findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedB… in findDaylightBoundaryUsingDate()
82 UDate min = d; in findDaylightBoundaryUsingDate()
83 UDate max = min + SIX_MONTHS; in findDaylightBoundaryUsingDate()
85 UDate mid = (min + max) / 2; in findDaylightBoundaryUsingDate()
96 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate()
97 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingDate()
108 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone()
118 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone()
122 UDate min = d; in findDaylightBoundaryUsingTimeZone()
123 UDate max = min + SIX_MONTHS; in findDaylightBoundaryUsingTimeZone()
135 UDate mid = (min + max) / 2; in findDaylightBoundaryUsingTimeZone()
147 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingTimeZone()
148 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingTimeZone()
167 TimeZoneBoundaryTest::showDate(UDate d) in showDate()
191 …oundaryTest::verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight… in verifyDST()
241 UDate e = cal.getTime(status)/ H; in verifyMapping()
242 UDate ed = (epochHours * H); in verifyMapping()
308 UDate d = tempcal->getTime(status); in TestBoundaries()
326 UDate d = date(97, UCAL_APRIL, 6); in TestBoundaries()
330 UDate e = d + i * 60 * 1000; in TestBoundaries()
384 TimeZoneBoundaryTest::testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary) in testUsingBinarySearch()
387 UDate min = d; in testUsingBinarySearch()
388 UDate max = min + SIX_MONTHS; in testUsingBinarySearch()
396 UDate mid = (min + max) / 2; in testUsingBinarySearch()
407 UDate mindelta = expectedBoundary - min; in testUsingBinarySearch()
408 UDate maxdelta = max - expectedBoundary; in testUsingBinarySearch()
451 TimeZoneBoundaryTest::findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t exp… in findBoundariesStepwise()
455 UDate d = date(year - 1900, UCAL_JANUARY, 1); in findBoundariesStepwise()
456 UDate time = d; in findBoundariesStepwise()
457 UDate limit = time + ONE_YEAR + ONE_DAY; in findBoundariesStepwise()