Home
last modified time | relevance | path

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

/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 …]
DTCKFixedZoneRules.java150 assertEquals(test.getStandardOffset(INSTANT), expectedOffset); in test_getStandardOffset_Instant()
151 assertEquals(test.getStandardOffset(null), expectedOffset); in test_getStandardOffset_Instant()
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/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java94 assertEquals(test.getStandardOffset(null), OFFSET_PONE); in test_data_nullInput()
/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
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java490 assertEquals(offset.getRules().getStandardOffset((Instant) null), offset); in test_getRules()