Searched refs:offset2 (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneOffset.java | 558 ZoneOffset offset2 = ZoneOffset.ofHoursMinutesSeconds(2, 3, 4); in test_compareTo() local 559 assertTrue(offset1.compareTo(offset2) > 0); in test_compareTo() 560 assertTrue(offset2.compareTo(offset1) < 0); in test_compareTo() 562 assertTrue(offset2.compareTo(offset2) == 0); in test_compareTo() 571 ZoneOffset offset2 = ZoneOffset.ofHoursMinutesSeconds(2, 3, 4); 573 assertEquals(offset1.equals(offset2), false); 574 assertEquals(offset2.equals(offset1), false); 577 assertEquals(offset2.equals(offset2), true); 578 assertEquals(offset2.equals(offset2b), true); 581 assertEquals(offset2.hashCode() == offset2.hashCode(), true); [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeParseContext.java | 208 …boolean subSequenceEquals(CharSequence cs1, int offset1, CharSequence cs2, int offset2, int length… in subSequenceEquals() argument 209 if (offset1 + length > cs1.length() || offset2 + length > cs2.length()) { in subSequenceEquals() 215 char ch2 = cs2.charAt(offset2 + i); in subSequenceEquals() 223 char ch2 = cs2.charAt(offset2 + i); in subSequenceEquals()
|