Searched refs:isValidOffset (Results 1 – 8 of 8) sorted by relevance
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()
139 assertEquals(test.isValidOffset(LDT, expectedOffset), true); in test_isValidOffset_LDT_ZO()140 assertEquals(test.isValidOffset(LDT, ZoneOffset.UTC), false); in test_isValidOffset_LDT_ZO()141 assertEquals(test.isValidOffset(LDT, null), false); in test_isValidOffset_LDT_ZO()143 assertEquals(test.isValidOffset(null, expectedOffset), true); in test_isValidOffset_LDT_ZO()144 assertEquals(test.isValidOffset(null, ZoneOffset.UTC), false); in test_isValidOffset_LDT_ZO()145 assertEquals(test.isValidOffset(null, null), false); in test_isValidOffset_LDT_ZO()
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 …]
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 …]
370 public boolean isValidOffset(ZoneOffset offset) { in isValidOffset() method in ZoneOffsetTransition
821 public boolean isValidOffset(LocalDateTime localDateTime, ZoneOffset offset) { in isValidOffset() method in ZoneRules
494 assertEquals(offset.getRules().isValidOffset((LocalDateTime) null, offset), true); in test_getRules()495 assertEquals(offset.getRules().isValidOffset((LocalDateTime) null, ZoneOffset.UTC), false); in test_getRules()496 assertEquals(offset.getRules().isValidOffset((LocalDateTime) null, null), false); in test_getRules()
430 if (zone.getRules().isValidOffset(localDateTime, offset)) { in ofInstant()473 if (rules.isValidOffset(localDateTime, offset) == false) { in ofStrict()637 … if (offset.equals(this.offset) == false && zone.getRules().isValidOffset(dateTime, offset)) { in resolveOffset()