Home
last modified time | relevance | path

Searched refs:useDaylightTime (Results 1 – 11 of 11) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_TimeZone.java33 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/
DZoneInfoTest.java63 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/
DTimeZone.java482 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()
DSimpleTimeZone.java836 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/
DSimpleTimeZoneTest.java43 .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/
DTimeZoneTest.java31 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()
DOldTimeZoneTest.java49 public boolean useDaylightTime() { in useDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
DGregorianCalendarTest.java432 public boolean useDaylightTime() { in useDaylightTime() method in GregorianCalendarTest.DelegatingTimeZone
433 return timeZone.useDaylightTime(); in useDaylightTime()
DSimpleTimeZoneTest.java203 if (!timeZone.useDaylightTime()) { in findDstEntryAndExit()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java593 @Override public boolean useDaylightTime() { in useDaylightTime() method in ZoneInfo
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java809 public boolean useDaylightTime() { in test_writeObject_TimeZone()