Home
last modified time | relevance | path

Searched refs:offset1 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java557 ZoneOffset offset1 = ZoneOffset.ofHoursMinutesSeconds(1, 2, 3); in test_compareTo() local
559 assertTrue(offset1.compareTo(offset2) > 0); in test_compareTo()
560 assertTrue(offset2.compareTo(offset1) < 0); in test_compareTo()
561 assertTrue(offset1.compareTo(offset1) == 0); in test_compareTo()
570 ZoneOffset offset1 = ZoneOffset.ofHoursMinutesSeconds(1, 2, 3);
573 assertEquals(offset1.equals(offset2), false);
574 assertEquals(offset2.equals(offset1), false);
576 assertEquals(offset1.equals(offset1), true);
580 assertEquals(offset1.hashCode() == offset1.hashCode(), true);
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java208 …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()
214 char ch1 = cs1.charAt(offset1 + i); in subSequenceEquals()
222 char ch1 = cs1.charAt(offset1 + i); in subSequenceEquals()