Home
last modified time | relevance | path

Searched refs:getRawOffset (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java114 ZoneOffset baseStandardOffset = millisToOffset(initial.getRawOffset()); in generateZoneRules()
116 millisToOffset((initial.getRawOffset() + initial.getDSTSavings())); in generateZoneRules()
138 if (from.getRawOffset() != to.getRawOffset()) { in generateZoneRules()
141 millisToOffset(from.getRawOffset()), in generateZoneRules()
142 millisToOffset(to.getRawOffset()))); in generateZoneRules()
145 int fromTotalOffset = from.getRawOffset() + from.getDSTSavings(); in generateZoneRules()
146 int toTotalOffset = to.getRawOffset() + to.getDSTSavings(); in generateZoneRules()
281 ZoneOffset standardOffset = millisToOffset(rule.getRawOffset()); in toZoneOffsetTransitionRule()
282 ZoneOffset offsetBefore = millisToOffset(rule.getRawOffset() + dstSavingMillisBefore); in toZoneOffsetTransitionRule()
284 rule.getRawOffset() + rule.getDSTSavings()); in toZoneOffsetTransitionRule()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DSimpleTimeZoneTest.java41 .getRawOffset() == 1000); in test_ConstructorILjava_lang_String()
63 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset()); in test_ConstructorILjava_lang_StringIIIIIIII()
120 assertEquals("Incorrect TZ constructed", 1000, st.getRawOffset()); in test_ConstructorILjava_lang_StringIIIIIIIII()
263 st1 = new SimpleTimeZone(tz.getRawOffset(), "EST"); in test_equalsLjava_lang_Object()
266 st1.setRawOffset(st2.getRawOffset()); in test_equalsLjava_lang_Object()
299 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST"); in test_getOffsetIIIIII()
304 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST"); in test_getOffsetIIIIII()
310 … st1 = new SimpleTimeZone(TimeZone.getDefault().getRawOffset(), TimeZone.getDefault().getID()); in test_getOffsetIIIIII()
356 st1 = new SimpleTimeZone(TimeZone.getTimeZone("EST").getRawOffset(), "EST"); in test_getRawOffset()
358 st1.getRawOffset() == -(5 * 60 * 60 * 1000)); in test_getRawOffset()
[all …]
DTimeZoneTest.java225 int rawOffset = tz.getRawOffset(); in test_getAvailableIDs_I_16947622()
245 int rawoffset = tz.getRawOffset(); in test_getAvailableIDs_I()
283 int offset = tz.getRawOffset(); in test_hasSameRules_Ljava_util_TimeZone()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java219 return getRawOffset() + getDSTSavings(); in getOffset()
221 return getRawOffset(); in getOffset()
241 int rawoffset = getRawOffset(); in getOffsets()
283 public abstract int getRawOffset(); in getRawOffset() method in TimeZone
415 int offsetMillis = getRawOffset(); in getDisplayName()
761 return other != null && getRawOffset() == other.getRawOffset() && in hasSameRules()
DSimpleTimeZone.java781 public int getRawOffset() in getRawOffset() method in SimpleTimeZone
DGregorianCalendar.java2357 zoneOffsets[0] = tz.getRawOffset(); in computeFields()
2900 internalGet(ZONE_OFFSET) : zone.getRawOffset(); in adjustForZoneAndDaylightSavingsTime()
DJapaneseImperialCalendar.java1606 zoneOffsets[0] = tz.getRawOffset(); in computeFields()
1946 zone.getOffsets(millis - zone.getRawOffset(), zoneOffsets); in computeTime()
/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/support/src/test/java/tests/support/
DSupport_TimeZone.java41 public int getRawOffset() { in getRawOffset() method in Support_TimeZone
/libcore/ojluni/src/main/java/sun/util/calendar/
DAbstractCalendar.java134 offsets[0] = zi.getRawOffset(); in getCalendarDate()
201 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()
213 zoneOffset = zi.getOffset(ms - zi.getRawOffset()); in getTime()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java300 assertEquals(3600 * 1000, calendar.getTimeZone().getRawOffset()); // in milliseconds in test_fromZonedDateTime()
400 checkOutsideDst(cal, description, timeZone.getRawOffset()); in checkOutsideDst()
409 checkDstFields(cal, description, timeZone.getRawOffset(), timeZone.getDSTSavings()); in checkInsideDst()
448 public int getRawOffset() { in getRawOffset() method in GregorianCalendarTest.DelegatingTimeZone
449 return timeZone.getRawOffset(); in getRawOffset()
DOldTimeZoneTest.java34 public int getRawOffset() { in getRawOffset() method in OldTimeZoneTest.Mock_TimeZone
DTimeZoneTest.java336 int offset = tz.getRawOffset(); in formatGmtString()
/libcore/luni/src/test/java/libcore/libcore/timezone/
DZoneInfoDBTest.java232 assertFalse(first.getRawOffset() == second.getRawOffset()); in testMakeTimeZone_timeZoneMutability()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java95 int offsetMillis = tz.getRawOffset(); in addOffsetStrings()
/libcore/luni/src/main/java/libcore/timezone/
DZoneInfoDB.java348 rawUtcOffsetsCache[i] = cache.get(ids[i]).getRawOffset(); in getRawUtcOffsets()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java689 assertEquals(expectedOffset.toMillis(), zoneInfo.getRawOffset()); in assertRawOffset()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java630 @Override public int getRawOffset() { in getRawOffset() method in ZoneInfo
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java773 public int getRawOffset() { in test_writeObject_TimeZone()
791 return save == ((TimeZone) obj).getRawOffset(); in test_writeObject_TimeZone()