Home
last modified time | relevance | path

Searched refs:inDaylightTime (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSimpleTimeZoneTest.java57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, in test_ConstructorILjava_lang_StringIIIIIIII()
60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, in test_ConstructorILjava_lang_StringIIIIIIII()
114 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, in test_ConstructorILjava_lang_StringIIIIIIIII()
117 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, in test_ConstructorILjava_lang_StringIIIIIIIII()
407 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc in test_inDaylightTimeLjava_util_Date()
411 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date()
415 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date()
418 .inDaylightTime(date)); in test_inDaylightTimeLjava_util_Date()
421 .inDaylightTime(gc.getTime()))); in test_inDaylightTimeLjava_util_Date()
424 .inDaylightTime(date)); in test_inDaylightTimeLjava_util_Date()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java46 stz.inDaylightTime(new Date()); in test_clone_SimpleTimeZone()
68 assertTrue(tz.inDaylightTime(new Date(firstTransitionTimeMillis))); in testPreHistoricInDaylightTime()
72 assertFalse(tz.inDaylightTime(new Date(beforeFirstTransitionTimeMillis))); in testPreHistoricInDaylightTime()
92 assertFalse(tz.inDaylightTime(date)); in testPreHistoricInDaylightTime_old()
98 assertFalse(tz.inDaylightTime(date)); in testPreHistoricInDaylightTime_old()
136 assertFalse(tz.inDaylightTime(new Date(epochMillis))); in assertNonDaylightOffset()
153 assertFalse(tz.inDaylightTime(new Date(Integer.MIN_VALUE))); in testMinimalTransitionZones()
154 assertFalse(tz.inDaylightTime(new Date(0))); in testMinimalTransitionZones()
155 assertFalse(tz.inDaylightTime(new Date(Integer.MAX_VALUE))); in testMinimalTransitionZones()
371 assertFalse(tz.inDaylightTime(new Date(lowerTimeMillis))); in testOverflowing32BitUnixDates()
[all …]
DSimpleTimeZoneTest.java213 while (!timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit()
223 assertFalse(timeZone.inDaylightTime(cal.getTime())); in findDstEntryAndExit()
227 while (timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit()
236 assertTrue(timeZone.inDaylightTime(cal.getTime())); in findDstEntryAndExit()
DGregorianCalendarTest.java198 assertTrue(zoneInfo.inDaylightTime(new Date(zoneInfoTime))); in test_computeTime_enteringDst()
199 assertFalse(zoneInfo.inDaylightTime(new Date(zoneInfoTime - 1))); in test_computeTime_enteringDst()
483 public boolean inDaylightTime(Date date) { in inDaylightTime() method in GregorianCalendarTest.DelegatingTimeZone
484 return timeZone.inDaylightTime(date); in inDaylightTime()
DOldTimeZoneTest.java39 public boolean inDaylightTime(Date date) { in inDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java218 if (inDaylightTime(new Date(date))) { in getOffset()
243 if (inDaylightTime(new Date(date))) { in getOffsets()
536 return useDaylightTime() || inDaylightTime(new Date()); in observesDaylightTime()
547 abstract public boolean inDaylightTime(Date date); in inDaylightTime() method in TimeZone
DSimpleTimeZone.java860 public boolean inDaylightTime(Date date) in inDaylightTime() method in SimpleTimeZone
DGregorianCalendar.java2995 if (!zone.inDaylightTime(new Date(standardTimeInZone - dstOffset))) { in adjustDstOffsetForInvalidWallClock()
/libcore/support/src/test/java/tests/support/
DSupport_TimeZone.java50 public boolean inDaylightTime(java.util.Date p1) { in inDaylightTime() method in Support_TimeZone
/libcore/luni/src/test/java/libcore/libcore/icu/
DTimeZoneIntegrationTest.java476 assertFalse(timeZone.inDaylightTime(new Date(winterTimeMillis))); in testDstMeansSummer()
477 assertTrue(timeZone.inDaylightTime(new Date(summerTimeMillis))); in testDstMeansSummer()
496 assertFalse(timeZone.inDaylightTime(new Date(winterTimeMillis))); in testDstMeansSummer()
497 assertTrue(timeZone.inDaylightTime(new Date(summerTimeMillis))); in testDstMeansSummer()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java103 boolean isDST = tz.inDaylightTime(new Date(zdt.toInstant().toEpochMilli())); in test_printText()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java697 assertEquals(expectedValue, zoneInfo.inDaylightTime(new Date(time.toEpochMilli()))); in assertInDaylightTime()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java617 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() method in ZoneInfo
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java777 public boolean inDaylightTime(java.util.Date p1) { in test_writeObject_TimeZone()