Searched refs:actualOffset (Results 1 – 4 of 4) sorted by relevance
325 long actualOffset = offsetField.getLong(null); in testWithOffset() local340 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()
204 var actualOffset = 123456; in testGetOffset_BC() local205 TimeZone utc = new SimpleTimeZone(actualOffset, "LMT somewhere"); in testGetOffset_BC()210 assertEquals(actualOffset, returnedOffset); in testGetOffset_BC()
383 int actualOffset = tz.getOffset(lowerTimeMillis); in testOverflowing32BitUnixDates() local384 assertEquals(-18000000, actualOffset); in testOverflowing32BitUnixDates()
810 ZoneOffset actualOffset = getOffset(instant); in getDaylightSavings() local811 … return Duration.ofSeconds(actualOffset.getTotalSeconds() - standardOffset.getTotalSeconds()); in getDaylightSavings()