Home
last modified time | relevance | path

Searched refs:getStandardOffset (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java94 assertEquals(test.getStandardOffset(null), OFFSET_PONE); in test_data_nullInput()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java127 assertEquals(test.getStandardOffset(instant), offset); in test_London_preTimeZones()
281 … assertEquals(test.getStandardOffset(instant), ZoneOffset.ofHoursMinutesSeconds(0, -1, -15)); in test_London_getStandardOffset()
283 assertEquals(test.getStandardOffset(instant), OFFSET_PONE); in test_London_getStandardOffset()
285 assertEquals(test.getStandardOffset(instant), OFFSET_ZERO); in test_London_getStandardOffset()
380 assertEquals(in.getStandardOffset(), OFFSET_ZERO); in test_London_getTransitionRules()
391 assertEquals(out.getStandardOffset(), OFFSET_ZERO); in test_London_getTransitionRules()
509 assertEquals(test.getStandardOffset(instant), offset); in test_Paris_preTimeZones()
659 … assertEquals(test.getStandardOffset(instant), ZoneOffset.ofHoursMinutesSeconds(0, 9, 21)); in test_Paris_getStandardOffset()
661 assertEquals(test.getStandardOffset(instant), OFFSET_ZERO); in test_Paris_getStandardOffset()
663 assertEquals(test.getStandardOffset(instant), OFFSET_PONE); in test_Paris_getStandardOffset()
[all …]
DTCKZoneOffsetTransitionRule.java173 assertEquals(test.getStandardOffset(), OFFSET_0200); in test_getters_floatingWeek()
189 assertEquals(test.getStandardOffset(), OFFSET_0200); in test_getters_floatingWeekBackwards()
205 assertEquals(test.getStandardOffset(), OFFSET_0200); in test_getters_fixedDate()
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneRulesTest.java58 assertEquals(offset, zoneRules.getStandardOffset(instant)); in test_of_ZoneOffset()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java750 public ZoneOffset getStandardOffset(Instant instant) { in getStandardOffset() method in ZoneRules
784 ZoneOffset standardOffset = getStandardOffset(instant); in getDaylightSavings()
804 return (getStandardOffset(instant).equals(getOffset(instant)) == false); in isDaylightSavings()
DZoneOffsetTransitionRule.java451 public ZoneOffset getStandardOffset() { in getStandardOffset() method in ZoneOffsetTransitionRule