Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java116 millisToOffset((initial.getRawOffset() + initial.getDSTSavings())); in generateZoneRules()
145 int fromTotalOffset = from.getRawOffset() + from.getDSTSavings(); in generateZoneRules()
146 int toTotalOffset = to.getRawOffset() + to.getDSTSavings(); in generateZoneRules()
159 preLastDstSavings = from.getDSTSavings(); in generateZoneRules()
189 lastRules.add(toZoneOffsetTransitionRule(last2, last1.getDSTSavings())); in generateZoneRules()
284 rule.getRawOffset() + rule.getDSTSavings()); in toZoneOffsetTransitionRule()
/libcore/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java161 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/
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/ojluni/src/main/java/java/util/
DTimeZone.java219 return getRawOffset() + getDSTSavings(); in getOffset()
244 dstoffset = getDSTSavings(); in getOffsets()
417 offsetMillis += getDSTSavings(); in getDisplayName()
493 public int getDSTSavings() { in getDSTSavings() method in TimeZone
DSimpleTimeZone.java827 public int getDSTSavings() { in getDSTSavings() method in SimpleTimeZone
/libcore/luni/src/test/java/libcore/java/util/
DTimeZoneTest.java226 assertEquals(0, TimeZone.getTimeZone("UTC").getDSTSavings()); in test_getDSTSavings()
227 assertEquals(3600000, TimeZone.getTimeZone("America/Los_Angeles").getDSTSavings()); in test_getDSTSavings()
228 assertEquals(1800000, TimeZone.getTimeZone("Australia/Lord_Howe").getDSTSavings()); in test_getDSTSavings()
338 offset += tz.getDSTSavings(); in formatGmtString()
DGregorianCalendarTest.java409 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/
DTimeZoneNames.java97 offsetMillis += tz.getDSTSavings(); in addOffsetStrings()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java685 zoneInfoCreated.getDSTSavings(), zoneInfoRead.getDSTSavings()); in testReadSerialized()
693 assertEquals(expectedDSTSavings.toMillis(), zoneInfo.getDSTSavings()); in assertDSTSavings()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java638 @Override public int getDSTSavings() { in getDSTSavings() method in ZoneInfo
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt61 method public int getDSTSavings();