Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java129 assertEquals(test.getStandardOffset(instant), offset); in test_London_preTimeZones()
292 … assertEquals(test.getStandardOffset(instant), ZoneOffset.ofHoursMinutesSeconds(0, -1, -15)); in test_London_getStandardOffset()
294 assertEquals(test.getStandardOffset(instant), OFFSET_PONE); in test_London_getStandardOffset()
296 assertEquals(test.getStandardOffset(instant), OFFSET_ZERO); in test_London_getStandardOffset()
393 assertEquals(in.getStandardOffset(), OFFSET_ZERO); in test_London_getTransitionRules()
404 assertEquals(out.getStandardOffset(), OFFSET_ZERO); in test_London_getTransitionRules()
529 assertEquals(test.getStandardOffset(instant), offset); in test_Paris_preTimeZones()
688 … assertEquals(test.getStandardOffset(instant), ZoneOffset.ofHoursMinutesSeconds(0, 9, 21)); in test_Paris_getStandardOffset()
690 assertEquals(test.getStandardOffset(instant), OFFSET_ZERO); in test_Paris_getStandardOffset()
692 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.java180 assertEquals(test.getStandardOffset(), OFFSET_0200); in test_getters_floatingWeek()
196 assertEquals(test.getStandardOffset(), OFFSET_0200); in test_getters_floatingWeekBackwards()
212 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()
DTestZoneRules.java155 assertEquals(zr.getStandardOffset(i), stdOffset); in test_NegativeDST()
224 assertEquals(rules.getStandardOffset(testDay), ZoneOffset.ofHours(stdOffset)); in test_EmptyTransitionList()
/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.java775 public ZoneOffset getStandardOffset(Instant instant) { in getStandardOffset() method in ZoneRules
809 ZoneOffset standardOffset = getStandardOffset(instant); in getDaylightSavings()
829 return (getStandardOffset(instant).equals(getOffset(instant)) == false); in isDaylightSavings()
DZoneOffsetTransitionRule.java456 public ZoneOffset getStandardOffset() { in getStandardOffset() method in ZoneOffsetTransitionRule
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java510 assertEquals(offset.getRules().getStandardOffset((Instant) null), offset); in test_getRules()
/libcore/api/
Dcurrent.txt12996 method public java.time.ZoneOffset getStandardOffset();
13013 method public java.time.ZoneOffset getStandardOffset(java.time.Instant);