Home
last modified time | relevance | path

Searched refs:inDaylightTime (Results 1 – 11 of 11) 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.java44 stz.inDaylightTime(new Date()); in test_clone_SimpleTimeZone()
67 assertFalse(tz.inDaylightTime(date)); in testPreHistoricInDaylightTime()
73 assertFalse(tz.inDaylightTime(date)); in testPreHistoricInDaylightTime()
93 assertFalse(tz.inDaylightTime(new Date(epochSeconds * 1000))); in assertNonDaylightOffset()
108 assertFalse(tz.inDaylightTime(new Date(Integer.MIN_VALUE))); in testZeroTransitionZones()
109 assertFalse(tz.inDaylightTime(new Date(0))); in testZeroTransitionZones()
110 assertFalse(tz.inDaylightTime(new Date(Integer.MAX_VALUE))); in testZeroTransitionZones()
DOldTimeZoneTest.java40 public boolean inDaylightTime(Date date) { in inDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
/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/main/java/java/util/
DTimeZone.java301 if (inDaylightTime(new Date(time))) { in getOffset()
429 public abstract boolean inDaylightTime(Date time); in inDaylightTime() method in TimeZone
DDate.java719 result.append(tz.getDisplayName(tz.inDaylightTime(this), TimeZone.SHORT)); in toString()
DSimpleTimeZone.java526 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() method in SimpleTimeZone
DGregorianCalendar.java578 int dstOffset = timeZone.inDaylightTime(new Date(time)) ? timeZone.getDSTSavings() : 0; in computeFields()
DFormatter.java1905 result.append(timeZone.getDisplayName(timeZone.inDaylightTime(calendar.getTime()), in appendT()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java227 @Override public boolean inDaylightTime(Date time) { in inDaylightTime() method in ZoneInfo
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java801 public boolean inDaylightTime(java.util.Date p1) { in test_writeObject_TimeZone()