/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleTimeZoneTest.java | 57 .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/ |
D | TimeZoneTest.java | 46 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 …]
|
D | SimpleTimeZoneTest.java | 213 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()
|
D | GregorianCalendarTest.java | 198 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()
|
D | OldTimeZoneTest.java | 39 public boolean inDaylightTime(Date date) { in inDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 218 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
|
D | SimpleTimeZone.java | 860 public boolean inDaylightTime(Date date) in inDaylightTime() method in SimpleTimeZone
|
D | GregorianCalendar.java | 2995 if (!zone.inDaylightTime(new Date(standardTimeInZone - dstOffset))) { in adjustDstOffsetForInvalidWallClock()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 50 public boolean inDaylightTime(java.util.Date p1) { in inDaylightTime() method in Support_TimeZone
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | TimeZoneIntegrationTest.java | 476 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/ |
D | TestZoneTextPrinterParser.java | 103 boolean isDST = tz.inDaylightTime(new Date(zdt.toInstant().toEpochMilli())); in test_printText()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 697 assertEquals(expectedValue, zoneInfo.inDaylightTime(new Date(time.toEpochMilli()))); in assertInDaylightTime()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 617 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() method in ZoneInfo
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 777 public boolean inDaylightTime(java.util.Date p1) { in test_writeObject_TimeZone()
|