/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoTest.java | 64 assertEquals(0, zoneInfo.getDSTSavings()); in testMakeTimeZone_OneType_NoTransitions() 89 assertEquals(0, zoneInfo.getDSTSavings()); in testReadTimeZone_OneNonDstTransition() 142 assertEquals(0, zoneInfo.getDSTSavings()); in testReadTimeZone_NegativeTransition() 176 assertEquals(0, zoneInfo.getDSTSavings()); in testReadTimeZone_PositiveTransition() 203 assertEquals(expectedDSTSavings, zoneInfo.getDSTSavings()); in testReadTimeZone_HasFutureDST_NoPastDST_NegativeTransitions() 210 assertEquals(expectedDSTSavings, zoneInfo.getDSTSavings()); in testReadTimeZone_HasFutureDST_NoPastDST_NegativeTransitions() 237 assertEquals(expectedDSTSavings, zoneInfo.getDSTSavings()); in testReadTimeZone_HasFutureDST_NoPastDST_PositiveTransitions() 244 assertEquals(expectedDSTSavings, zoneInfo.getDSTSavings()); in testReadTimeZone_HasFutureDST_NoPastDST_PositiveTransitions() 267 assertEquals(0, zoneInfo.getDSTSavings()); in testReadTimeZone_HasPastDST_NoFutureDST_NegativeTransitions() 274 assertEquals(0, zoneInfo.getDSTSavings()); in testReadTimeZone_HasPastDST_NoFutureDST_NegativeTransitions() [all …]
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | IcuZoneRulesProvider.java | 117 millisToOffset((initial.getRawOffset() + initial.getDSTSavings())); in generateZoneRules() 146 int fromTotalOffset = from.getRawOffset() + from.getDSTSavings(); in generateZoneRules() 147 int toTotalOffset = to.getRawOffset() + to.getDSTSavings(); in generateZoneRules() 160 preLastDstSavings = from.getDSTSavings(); in generateZoneRules() 190 lastRules.add(toZoneOffsetTransitionRule(last2, last1.getDSTSavings())); in generateZoneRules() 285 rule.getRawOffset() + rule.getDSTSavings()); in toZoneOffsetTransitionRule()
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | IcuZoneRulesProviderTest.java | 161 return transition.getFrom().getRawOffset() + transition.getFrom().getDSTSavings() in isIcuOnlyTransition() 162 == transition.getTo().getRawOffset() + transition.getTo().getDSTSavings(); in isIcuOnlyTransition() 180 (from.getDSTSavings() + from.getRawOffset()) / 1000, in assertEquivalent() 183 (to.getDSTSavings() + to.getRawOffset()) / 1000, in assertEquivalent()
|
/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/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 217 return getRawOffset() + getDSTSavings(); in getOffset() 242 dstoffset = getDSTSavings(); in getOffsets() 415 offsetMillis += getDSTSavings(); in getDisplayName() 491 public int getDSTSavings() { in getDSTSavings() method in TimeZone
|
D | SimpleTimeZone.java | 827 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TimeZoneTest.java | 195 assertEquals(0, TimeZone.getTimeZone("UTC").getDSTSavings()); in test_getDSTSavings() 196 assertEquals(3600000, TimeZone.getTimeZone("America/Los_Angeles").getDSTSavings()); in test_getDSTSavings() 197 assertEquals(1800000, TimeZone.getTimeZone("Australia/Lord_Howe").getDSTSavings()); in test_getDSTSavings() 332 offset += tz.getDSTSavings(); in formatGmtString()
|
D | GregorianCalendarTest.java | 409 checkDstFields(cal, description, timeZone.getRawOffset(), timeZone.getDSTSavings()); in checkInsideDst() 468 public int getDSTSavings() { in getDSTSavings() method in GregorianCalendarTest.DelegatingTimeZone 469 return timeZone.getDSTSavings(); in getDSTSavings()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | TimeZoneNames.java | 95 offsetMillis += tz.getDSTSavings(); in addOffsetStrings()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 609 @Override public int getDSTSavings() { in getDSTSavings() method in ZoneInfo
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1854 int dstAmount = isDst ? newTimeZone.getDSTSavings() : 0; in subParseZoneStringFromICU() 1923 int dstAmount = (nameIndex >= 3) ? tz.getDSTSavings() : 0; in subParseZoneStringFromSymbols()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3697 tz.getRawOffset() + tz.getDSTSavings()); in getDisplayName()
|