Searched refs:getDSTSavings (Results 1 – 8 of 8) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimeZoneTest.java | 53 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()
|
D | SimpleTimeZoneTest.java | 123 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/ |
D | TimeZone.java | 211 offsetMillis += getDSTSavings(); in getDisplayName() 289 public int getDSTSavings() { in getDSTSavings() method in TimeZone 302 return getRawOffset() + getDSTSavings(); in getOffset()
|
D | SimpleTimeZone.java | 334 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
|
D | GregorianCalendar.java | 578 int dstOffset = timeZone.inDaylightTime(new Date(time)) ? timeZone.getDSTSavings() : 0; in computeFields()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 173 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/ |
D | ZoneInfo.java | 252 @Override public int getDSTSavings() { in getDSTSavings() method in ZoneInfo
|
/libcore/luni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1233 int dstSavings = zone.getDSTSavings(); in parseTimeZone()
|