/libcore/ojluni/src/main/java/java/text/ |
H A D | CharacterIterator.java | 47 * are indexed with values beginning with the value returned by getBeginIndex() and 51 * getBeginIndex() to getEndIndex(); the value getEndIndex() is included to allow 57 * they would move outside the range from getBeginIndex() to getEndIndex() -1, 116 * Sets the position to getBeginIndex() and returns the character at that 119 * @see #getBeginIndex() 151 * at the new index. If the current index is getBeginIndex(), the index 152 * remains at getBeginIndex() and a value of DONE is returned. 154 * position is equal to getBeginIndex(). 162 * getBeginIndex() to getEndIndex(). An IllegalArgumentException is thrown 172 public int getBeginIndex(); method in interface:CharacterIterator [all...] |
H A D | FieldPosition.java | 168 public int getBeginIndex() { method in class:FieldPosition
|
H A D | IcuIteratorWrapper.java | 321 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) {
|
H A D | StringCharacterIterator.java | 204 * Implements CharacterIterator.getBeginIndex() for String. 205 * @see CharacterIterator#getBeginIndex 207 public int getBeginIndex() method in class:StringCharacterIterator
|
H A D | DecimalFormat.java | 507 icuFieldPosition.setBeginIndex(fp.getBeginIndex()); 612 fieldPosition.setBeginIndex(icuFieldPosition.getBeginIndex()); 632 fieldPosition.setBeginIndex(icuFieldPosition.getBeginIndex()); 652 fieldPosition.setBeginIndex(icuFieldPosition.getBeginIndex()); 672 fieldPosition.setBeginIndex(icuFieldPosition.getBeginIndex()); 708 original.getEndIndex() - original.getBeginIndex()); 710 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) { 717 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) {
|
H A D | AttributedString.java | 99 int start = iterator.getBeginIndex(); 182 this(text, text.getBeginIndex(), text.getEndIndex(), null); 239 int textBeginIndex = text.getBeginIndex(); 679 int index = iterator.getBeginIndex(); 847 public int getBeginIndex() { method in class:AttributedString.AttributedStringIterator
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | StringCharacterIteratorTest.java | 198 * @tests java.text.StringCharacterIterator.getBeginIndex() 202 assertEquals(0, fixture.getBeginIndex()); 204 assertEquals(0, fixture.getBeginIndex()); 207 assertEquals(1, fixture.getBeginIndex()); 211 assertEquals("Wrong begin index 2", 2, it1.getBeginIndex()); 408 assertEquals("Wrong begin index", 0, it.getBeginIndex()); 421 assertEquals("Wrong begin index", 0, it.getBeginIndex()); 435 assertEquals("Wrong begin index", 2, it.getBeginIndex()); 517 assertEquals("Wrong begin index", 0, it1.getBeginIndex());
|
H A D | FieldPositionTest.java | 108 * @tests java.text.FieldPosition#getBeginIndex() 111 // Test for method int java.text.FieldPosition.getBeginIndex() 115 assertEquals("getBeginIndex should have returned 2", 116 2, fpos.getBeginIndex()); 187 .getBeginIndex()); 191 Integer.MAX_VALUE, fpos.getBeginIndex()); 195 -1, fpos.getBeginIndex());
|
H A D | Support_Format.java | 52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) { 54 pos.getFieldAttribute() + " " + pos.getBeginIndex() + ".." + pos.getEndIndex());
|
H A D | AttributedStringTest.java | 96 public int getBeginIndex() { method in class:AttributedStringTest.testAttributedCharacterIterator
|
H A D | AttributedCharacterIteratorTest.java | 63 * @tests java.text.AttributedCharacterIterator#getBeginIndex() 69 assertEquals("Wrong begin index", 2, it.getBeginIndex());
|
H A D | DecimalFormatTest.java | 2031 assertEquals(0, iterator.getBeginIndex()); 2068 assertEquals(0, iterator.getBeginIndex()); 2082 assertEquals(0, iterator.getBeginIndex()); 2106 assertEquals(0, iterator.getBeginIndex());
|
H A D | SimpleDateFormatTest.java | 404 "field: " + field, 1, position.getBeginIndex());
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldFormatTest.java | 70 assertEquals(0, aci.getBeginIndex());
|
H A D | OldAttributedStringTest.java | 254 public int getBeginIndex() { method in class:OldAttributedStringTest.testAttributedCharacterIterator
|
H A D | OldDateFormatTest.java | 121 .getBeginIndex() == sb.lastIndexOf("/") + 1);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 54 + field, begin, pos.getBeginIndex());
|