Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java91 assertEquals(test.getValidOffsets(null).size(), 1); in test_data_nullInput()
92 assertEquals(test.getValidOffsets(null).get(0), OFFSET_PONE); in test_data_nullInput()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKFixedZoneRules.java125 assertEquals(test.getValidOffsets(LDT).size(), 1); in test_getValidOffsets_LDT()
126 assertEquals(test.getValidOffsets(LDT).get(0), expectedOffset); in test_getValidOffsets_LDT()
127 assertEquals(test.getValidOffsets(null).size(), 1); in test_getValidOffsets_LDT()
128 assertEquals(test.getValidOffsets(null).get(0), expectedOffset); in test_getValidOffsets_LDT()
DTCKZoneRules.java1108 List<ZoneOffset> validOffsets = rules.getValidOffsets(dateTime); in checkOffset()
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneRulesTest.java62 zoneRules.getValidOffsets(localDateTime)); in test_of_ZoneOffset()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java586 public List<ZoneOffset> getValidOffsets(LocalDateTime localDateTime) { in getValidOffsets() method in ZoneRules
590 return ((ZoneOffsetTransition) info).getValidOffsets(); in getValidOffsets()
822 return getValidOffsets(localDateTime).contains(offset); in isValidOffset()
DZoneOffsetTransition.java381 List<ZoneOffset> getValidOffsets() { in getValidOffsets() method in ZoneOffsetTransition
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java143 List<ZoneOffset> validOffsets = rules.getValidOffsets(isoLDT); in ofBest()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java498 … assertEquals(offset.getRules().getValidOffsets((LocalDateTime) null), Arrays.asList(offset)); in test_getRules()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java367 List<ZoneOffset> validOffsets = rules.getValidOffsets(localDateTime); in ofLocal()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java667 List<ZoneOffset> validOffsets = rules.getValidOffsets(dateTime); in checkOffset()