Home
last modified time | relevance | path

Searched refs:actualOffset (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/
DTestClock_System.java325 long actualOffset = offsetField.getLong(null); in testWithOffset() local
340 if (actualOffset == offset) { in testWithOffset()
349 if (actualOffset != offset) { in testWithOffset()
357 if (distance(actualOffset, instant.getEpochSecond()) >= MAX_OFFSET) { in testWithOffset()
359 + " offset=" + actualOffset in testWithOffset()
362 long adjustment = (instant.getEpochSecond() - actualOffset) * NANOS_IN_SECOND in testWithOffset()
364 validateAdjustment(name, actualOffset, beforeMillis, afterMillis, adjustment); in testWithOffset()
/libcore/luni/src/test/java/libcore/java/util/
DSimpleTimeZoneTest.java204 var actualOffset = 123456; in testGetOffset_BC() local
205 TimeZone utc = new SimpleTimeZone(actualOffset, "LMT somewhere"); in testGetOffset_BC()
210 assertEquals(actualOffset, returnedOffset); in testGetOffset_BC()
DTimeZoneTest.java383 int actualOffset = tz.getOffset(lowerTimeMillis); in testOverflowing32BitUnixDates() local
384 assertEquals(-18000000, actualOffset); in testOverflowing32BitUnixDates()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java810 ZoneOffset actualOffset = getOffset(instant); in getDaylightSavings() local
811 … return Duration.ofSeconds(actualOffset.getTotalSeconds() - standardOffset.getTotalSeconds()); in getDaylightSavings()