/libcore/ojluni/src/main/java/java/time/zone/ |
D | IcuZoneRulesProvider.java | 114 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/ |
D | SimpleTimeZoneTest.java | 41 .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 …]
|
D | TimeZoneTest.java | 225 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/ |
D | TimeZone.java | 219 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()
|
D | SimpleTimeZone.java | 781 public int getRawOffset() in getRawOffset() method in SimpleTimeZone
|
D | GregorianCalendar.java | 2357 zoneOffsets[0] = tz.getRawOffset(); in computeFields() 2900 internalGet(ZONE_OFFSET) : zone.getRawOffset(); in adjustForZoneAndDaylightSavingsTime()
|
D | JapaneseImperialCalendar.java | 1606 zoneOffsets[0] = tz.getRawOffset(); in computeFields() 1946 zone.getOffsets(millis - zone.getRawOffset(), zoneOffsets); in computeTime()
|
/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/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 41 public int getRawOffset() { in getRawOffset() method in Support_TimeZone
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 134 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/ |
D | GregorianCalendarTest.java | 300 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()
|
D | OldTimeZoneTest.java | 34 public int getRawOffset() { in getRawOffset() method in OldTimeZoneTest.Mock_TimeZone
|
D | TimeZoneTest.java | 336 int offset = tz.getRawOffset(); in formatGmtString()
|
/libcore/luni/src/test/java/libcore/libcore/timezone/ |
D | ZoneInfoDBTest.java | 232 assertFalse(first.getRawOffset() == second.getRawOffset()); in testMakeTimeZone_timeZoneMutability()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | TimeZoneNames.java | 95 int offsetMillis = tz.getRawOffset(); in addOffsetStrings()
|
/libcore/luni/src/main/java/libcore/timezone/ |
D | ZoneInfoDB.java | 348 rawUtcOffsetsCache[i] = cache.get(ids[i]).getRawOffset(); in getRawUtcOffsets()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 689 assertEquals(expectedOffset.toMillis(), zoneInfo.getRawOffset()); in assertRawOffset()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 630 @Override public int getRawOffset() { in getRawOffset() method in ZoneInfo
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 773 public int getRawOffset() { in test_writeObject_TimeZone() 791 return save == ((TimeZone) obj).getRawOffset(); in test_writeObject_TimeZone()
|