Home
last modified time | relevance | path

Searched refs:useDaylightTime (Results 1 – 8 of 8) 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/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()
107 assertFalse(tz.useDaylightTime()); in testZeroTransitionZones()
207 if (tz.useDaylightTime()) { in testDisplayNames()
DOldTimeZoneTest.java50 public boolean useDaylightTime() { in useDaylightTime() method in OldTimeZoneTest.Mock_TimeZone
/libcore/luni/src/main/java/java/util/
DTimeZone.java290 return useDaylightTime() ? 3600000 : 0; in getDSTSavings()
479 public abstract boolean useDaylightTime(); in useDaylightTime() method in TimeZone
DSimpleTimeZone.java351 if (!useDaylightTime() || era != GregorianCalendar.AD || year < startYear) { in getOffset()
474 if (!useDaylightTime()) { in getOffset()
527 return useDaylightTime() && getOffset(time.getTime()) != getRawOffset(); in inDaylightTime()
826 public boolean useDaylightTime() { in useDaylightTime() method in SimpleTimeZone
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java256 @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()