Searched refs:isValidOffset (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransition.java | 155 assertEquals(test.isValidOffset(OFFSET_0100), false); in test_isValidOffset_gap() 156 assertEquals(test.isValidOffset(OFFSET_0200), false); in test_isValidOffset_gap() 157 assertEquals(test.isValidOffset(OFFSET_0230), false); in test_isValidOffset_gap() 158 assertEquals(test.isValidOffset(OFFSET_0300), false); in test_isValidOffset_gap() 159 assertEquals(test.isValidOffset(OFFSET_0400), false); in test_isValidOffset_gap() 166 assertEquals(test.isValidOffset(OFFSET_0100), false); in test_isValidOffset_overlap() 167 assertEquals(test.isValidOffset(OFFSET_0200), true); in test_isValidOffset_overlap() 168 assertEquals(test.isValidOffset(OFFSET_0230), false); in test_isValidOffset_overlap() 169 assertEquals(test.isValidOffset(OFFSET_0300), true); in test_isValidOffset_overlap() 170 assertEquals(test.isValidOffset(OFFSET_0400), false); in test_isValidOffset_overlap()
|
D | TCKZoneRules.java | 235 assertEquals(trans.isValidOffset(OFFSET_ZERO), false); in test_London_getOffsetInfo_gap() 236 assertEquals(trans.isValidOffset(OFFSET_PONE), false); in test_London_getOffsetInfo_gap() 237 assertEquals(trans.isValidOffset(OFFSET_PTWO), false); in test_London_getOffsetInfo_gap() 260 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(-1)), false); in test_London_getOffsetInfo_overlap() 261 assertEquals(trans.isValidOffset(OFFSET_ZERO), true); in test_London_getOffsetInfo_overlap() 262 assertEquals(trans.isValidOffset(OFFSET_PONE), true); in test_London_getOffsetInfo_overlap() 263 assertEquals(trans.isValidOffset(OFFSET_PTWO), false); in test_London_getOffsetInfo_overlap() 615 assertEquals(trans.isValidOffset(OFFSET_ZERO), false); in test_Paris_getOffsetInfo_gap() 616 assertEquals(trans.isValidOffset(OFFSET_PONE), false); in test_Paris_getOffsetInfo_gap() 617 assertEquals(trans.isValidOffset(OFFSET_PTWO), false); in test_Paris_getOffsetInfo_gap() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 268 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(-1)), false); in test_London_getOffsetInfo_gap() 269 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(0)), false); in test_London_getOffsetInfo_gap() 270 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(1)), false); in test_London_getOffsetInfo_gap() 271 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(2)), false); in test_London_getOffsetInfo_gap() 294 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(-1)), false); in test_London_getOffsetInfo_overlap() 295 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(0)), true); in test_London_getOffsetInfo_overlap() 296 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(1)), true); in test_London_getOffsetInfo_overlap() 297 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(2)), false); in test_London_getOffsetInfo_overlap() 421 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(0)), false); in test_Paris_getOffsetInfo_gap() 422 assertEquals(trans.isValidOffset(ZoneOffset.ofHours(1)), false); in test_Paris_getOffsetInfo_gap() [all …]
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 370 public boolean isValidOffset(ZoneOffset offset) { in isValidOffset() method in ZoneOffsetTransition
|
D | ZoneRules.java | 821 public boolean isValidOffset(LocalDateTime localDateTime, ZoneOffset offset) { in isValidOffset() method in ZoneRules
|