/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 33 boolean useDaylightTime; field in Support_TimeZone 35 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { in Support_TimeZone() argument 37 this.useDaylightTime = useDaylightTime; in Support_TimeZone() 51 if (!useDaylightTime) { in inDaylightTime() 65 public boolean useDaylightTime() { in useDaylightTime() method in Support_TimeZone 66 return useDaylightTime; in useDaylightTime()
|
/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoTest.java | 63 assertFalse("Doesn't use DST", zoneInfo.useDaylightTime()); in testMakeTimeZone_OneOffset_NoTransitions() 88 assertFalse("Doesn't use DST", zoneInfo.useDaylightTime()); in testMakeTimeZone_OneNonDstTransition() 142 assertFalse("Doesn't use DST", zoneInfo.useDaylightTime()); in testMakeTimeZone_NegativeTransition() 176 assertFalse("Doesn't use DST", zoneInfo.useDaylightTime()); in testMakeTimeZone_PositiveTransition() 203 assertTrue("Should use DST but doesn't", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasFutureDST_NoPastDST_NegativeTransitions() 210 assertTrue("Should use DST but doesn't", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasFutureDST_NoPastDST_NegativeTransitions() 236 assertTrue("Should use DST but doesn't", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasFutureDST_NoPastDST_PositiveTransitions() 243 assertTrue("Should use DST but doesn't", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasFutureDST_NoPastDST_PositiveTransitions() 265 assertFalse("Shouldn't use DST but does", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasPastDST_NoFutureDST_NegativeTransitions() 272 assertFalse("Shouldn't use DST but does", zoneInfo.useDaylightTime()); in testMakeTimeZone_HasPastDST_NoFutureDST_NegativeTransitions() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 482 if (useDaylightTime()) { in getDSTSavings() 503 public abstract boolean useDaylightTime(); in useDaylightTime() method in TimeZone 524 return useDaylightTime() || inDaylightTime(new Date()); in observesDaylightTime() 727 useDaylightTime() == other.useDaylightTime(); in hasSameRules()
|
D | SimpleTimeZone.java | 836 public boolean useDaylightTime() in useDaylightTime() method in SimpleTimeZone 852 return useDaylightTime(); in observesDaylightTime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SimpleTimeZoneTest.java | 43 .useDaylightTime()); in test_ConstructorILjava_lang_String() 64 assertTrue("Incorrect TZ constructed", st.useDaylightTime()); in test_ConstructorILjava_lang_StringIIIIIIII() 121 assertTrue("Incorrect TZ constructed", st.useDaylightTime()); in test_ConstructorILjava_lang_StringIIIIIIIII() 465 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setEndRuleIII() 506 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setEndRuleIIII() 554 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setEndRuleIIIIZ() 622 assertTrue("StartRule improperly set", st.useDaylightTime()); in test_setStartRuleIII() 663 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setStartRuleIIII() 712 assertTrue("StartRule improperly set1", st.useDaylightTime()); in test_setStartRuleIIIIZ() 792 .useDaylightTime()); in test_useDaylightTime() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 31 assertFalse("Taiwan doesn't use DST", asiaTaipei.useDaylightTime()); in test_useDaylightTime_Taiwan() 37 assertFalse("Reykjavik doesn't use DST", atlanticReykjavik.useDaylightTime()); in test_useDaylightTime_Iceland() 113 assertFalse(tz.useDaylightTime()); in testZeroTransitionZones() 213 if (tz.useDaylightTime()) { in testDisplayNames()
|
D | OldTimeZoneTest.java | 49 public boolean useDaylightTime() { in useDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
|
D | GregorianCalendarTest.java | 432 public boolean useDaylightTime() { in useDaylightTime() method in GregorianCalendarTest.DelegatingTimeZone 433 return timeZone.useDaylightTime(); in useDaylightTime()
|
D | SimpleTimeZoneTest.java | 203 if (!timeZone.useDaylightTime()) { in findDstEntryAndExit()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 593 @Override public boolean useDaylightTime() { in useDaylightTime() method in ZoneInfo
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 809 public boolean useDaylightTime() { in test_writeObject_TimeZone()
|