Searched refs:Format (Results 1 – 13 of 13) sorted by relevance
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldFormatTest.java | 22 import java.text.Format; 29 private class MockFormat extends Format { 55 Format fm = new MockFormat(); in test_clone() 56 Format fmc = (Format) fm.clone(); in test_clone()
|
D | OldFormatFieldTest.java | 20 import java.text.Format; 24 private class MockFormatField extends Format.Field {
|
/libcore/luni/src/main/java/java/text/ |
D | FieldPosition.java | 37 private Format.Field attribute; 49 public FieldPosition(Format.Field attribute) { in FieldPosition() 57 public FieldPosition(Format.Field attribute, int field) { in FieldPosition() 100 public Format.Field getFieldAttribute() { in getFieldAttribute()
|
D | MessageFormat.java | 332 public class MessageFormat extends Format { 342 private Format[] formats; 393 ArrayList<Format> localFormats = new ArrayList<Format>(); in applyPattern() 395 if (Format.upTo(template, position, buffer, '{')) { in applyPattern() 432 this.formats = localFormats.toArray(new Format[argCount]); in applyPattern() 447 Format[] array = new Format[formats.length]; in clone() 450 array[i] = (Format) formats[i].clone(); in clone() 569 Format format = formats[i]; in formatImpl() 651 private void handleFormat(Format format, Object arg, int begin, List<FieldContainer> fields) { in handleFormat() 733 public Format[] getFormats() { in getFormats() [all …]
|
D | Format.java | 57 public abstract class Format implements Serializable, Cloneable { class 64 protected Format() { in Format() method in Format
|
D | DateFormat.java | 64 public abstract class DateFormat extends Format { 690 public static class Field extends Format.Field {
|
D | NumberFormat.java | 142 public abstract class NumberFormat extends Format { 762 public static class Field extends Format.Field {
|
D | SimpleDateFormat.java | 481 Format.Field attribute = pos.getFieldAttribute(); in formatToCharacterIteratorImpl()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 30 import java.text.Format; 123 Format[] formats = f1.getFormats(); in test_setFormatILjava_text_Format() 126 Format[] correctFormats = new Format[] { in test_setFormatILjava_text_Format() 227 Format[] correctFormats = new Format[] { in test_setFormats$Ljava_text_Format() 236 Format[] formats = f1.getFormats(); in test_setFormats$Ljava_text_Format() 319 Format[] formats = format.getFormats(); in test_ConstructorLjava_lang_String() 533 Format[] formats = clone.getFormats(); in test_clone() 609 Format[] formats = format1.getFormats(); in test_getFormats() 610 Format[] correctFormats = new Format[] { in test_getFormats() 625 correctFormats = new Format[] { NumberFormat.getCurrencyInstance(), in test_getFormats() [all …]
|
D | Support_Format.java | 22 import java.text.Format; 37 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 38 String text, Format.Field field, int begin, int end) { in t_FormatWithField() 58 …protected void t_Format(int count, Object object, Format format, Vector<FieldContainer> expectedRe… in t_Format()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 22 import java.text.Format; 36 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 37 String text, Format.Field field, int begin, int end) { in t_FormatWithField() 59 protected void t_Format(int count, Object object, Format format, in t_Format()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeDecimalFormat.java | 26 import java.text.Format; 97 private static final Format.Field[] ICU4C_FIELD_IDS = { 121 Format.Field attr = fp.getFieldAttribute(); in translateFieldId() 368 Format.Field field = fpIter.field(); in formatToCharacterIterator() 599 public Format.Field field() { in field()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 238 objToSave = new java.text.Format() { in test_writeObject_Format() 253 if (!(obj instanceof java.text.Format)) in test_writeObject_Format() 255 return save.equals(((java.text.Format) obj).parseObject( in test_writeObject_Format() 260 ((java.text.Format) objToSave).parseObject("Test", null); in test_writeObject_Format()
|