Home
last modified time | relevance | path

Searched refs:getDSTSavings (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimeZoneTest.java53 ONE_HOUR, st1.getDSTSavings()); in test_getDSTSavings()
58 1800000, st1.getDSTSavings()); in test_getDSTSavings()
63 ONE_HOUR, tz1.getDSTSavings()); in test_getDSTSavings()
68 0, tz1.getDSTSavings()); in test_getDSTSavings()
DSimpleTimeZoneTest.java123 st.getDSTSavings() == 1000 * 60 * 60); in test_ConstructorILjava_lang_StringIIIIIIIII()
278 0, st1.getDSTSavings()); in test_getDSTSavings()
283 3600000, st1.getDSTSavings()); in test_getDSTSavings()
288 .getDSTSavings()); in test_getDSTSavings()
445 assertEquals(1, st.getDSTSavings()); in test_setDSTSavingsI()
/libcore/luni/src/main/java/java/util/
DTimeZone.java211 offsetMillis += getDSTSavings(); in getDisplayName()
289 public int getDSTSavings() { in getDSTSavings() method in TimeZone
302 return getRawOffset() + getDSTSavings(); in getOffset()
DSimpleTimeZone.java334 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
DGregorianCalendar.java578 int dstOffset = timeZone.inDaylightTime(new Date(time)) ? timeZone.getDSTSavings() : 0; in computeFields()
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java173 assertEquals(0, TimeZone.getTimeZone("UTC").getDSTSavings()); in test_getDSTSavings()
174 assertEquals(3600000, TimeZone.getTimeZone("America/Los_Angeles").getDSTSavings()); in test_getDSTSavings()
175 assertEquals(1800000, TimeZone.getTimeZone("Australia/Lord_Howe").getDSTSavings()); in test_getDSTSavings()
274 offset += tz.getDSTSavings(); in formatGmtString()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java252 @Override public int getDSTSavings() { in getDSTSavings() method in ZoneInfo
/libcore/luni/src/main/java/java/text/
DSimpleDateFormat.java1233 int dstSavings = zone.getDSTSavings(); in parseTimeZone()