/libcore/ojluni/src/main/java/java/text/ |
D | FieldPosition.java | 96 private Format.Field attribute; 122 public FieldPosition(Format.Field attribute) { in FieldPosition() 142 public FieldPosition(Format.Field attribute, int fieldID) { in FieldPosition() 155 public Format.Field getFieldAttribute() { in getFieldAttribute() 213 Format.FieldDelegate getFieldDelegate() { in getFieldDelegate() 263 private boolean matchesField(Format.Field attribute) { in matchesField() 275 private boolean matchesField(Format.Field attribute, int field) { in matchesField() 288 private class Delegate implements Format.FieldDelegate { 296 public void formatted(Format.Field attr, Object value, int start, in formatted() 305 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
D | DontCareFieldPosition.java | 37 private final Format.FieldDelegate noDelegate = new Format.FieldDelegate() { 38 public void formatted(Format.Field attr, Object value, int start, 41 public void formatted(int fieldID, Format.Field attr, Object value, 50 Format.FieldDelegate getFieldDelegate() { in getFieldDelegate()
|
D | MessageFormat.java | 345 public class MessageFormat extends Format { 530 Format fmt = formats[i]; in toPattern() 608 public void setFormatsByArgumentIndex(Format[] newFormats) { in setFormatsByArgumentIndex() 639 public void setFormats(Format[] newFormats) { in setFormats() 667 public void setFormatByArgumentIndex(int argumentIndex, Format newFormat) { in setFormatByArgumentIndex() 692 public void setFormat(int formatElementIndex, Format newFormat) { in setFormat() 722 public Format[] getFormatsByArgumentIndex() { in getFormatsByArgumentIndex() 729 Format[] resultArray = new Format[maximumArgumentNumber + 1]; in getFormatsByArgumentIndex() 752 public Format[] getFormats() { in getFormats() 753 Format[] resultArray = new Format[maxOffset + 1]; in getFormats() [all …]
|
D | Format.java | 133 public abstract class Format implements Serializable, Cloneable { class 141 protected Format() { in Format() method in Format 389 public void formatted(Format.Field attr, Object value, int start, in formatted() 403 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
D | CharacterIteratorFieldDelegate.java | 36 class CharacterIteratorFieldDelegate implements Format.FieldDelegate { 56 public void formatted(Format.Field attr, Object value, int start, int end, in formatted() 95 public void formatted(int fieldID, Format.Field attr, Object value, in formatted()
|
D | DateFormat.java | 148 public abstract class DateFormat extends Format { 841 public static class Field extends Format.Field {
|
D | NumberFormat.java | 180 public abstract class NumberFormat extends Format { 1107 public static class Field extends Format.Field {
|
D | DecimalFormat.java | 520 Format.Field fieldAttribute = fp.getFieldAttribute(); in getIcuFieldPosition()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | Wrapper.java | 30 …BOOLEAN( Boolean.class, boolean.class, 'Z', (Boolean)false, new boolean[0], Format.unsigned(… 32 …BYTE ( Byte.class, byte.class, 'B', (Byte)(byte)0, new byte[0], Format.signed( … 33 …SHORT ( Short.class, short.class, 'S', (Short)(short)0, new short[0], Format.signed( … 34 …CHAR (Character.class, char.class, 'C', (Character)(char)0, new char[0], Format.unsigned(… 35 …INT ( Integer.class, int.class, 'I', (Integer)/*(int)*/0, new int[0], Format.signed( … 36 …LONG ( Long.class, long.class, 'J', (Long)(long)0, new long[0], Format.signed( … 37 …FLOAT ( Float.class, float.class, 'F', (Float)(float)0, new float[0], Format.floating(… 38 …DOUBLE ( Double.class, double.class, 'D', (Double)(double)0, new double[0], Format.floating(… 39 …OBJECT ( Object.class, Object.class, 'L', null, new Object[0], Format.other( … 41 …VOID ( Void.class, void.class, 'V', null, null, Format.other( … [all …]
|
/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/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() 230 Format[] correctFormats = new Format[] { in test_setFormats$Ljava_text_Format() 239 Format[] formats = f1.getFormats(); in test_setFormats$Ljava_text_Format() 322 Format[] formats = format.getFormats(); in test_ConstructorLjava_lang_String() 536 Format[] formats = clone.getFormats(); in test_clone() 612 Format[] formats = format1.getFormats(); in test_getFormats() 613 Format[] correctFormats = new Format[] { in test_getFormats() 628 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/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 73 import java.text.Format; 759 Format format = test.toFormat(); in test_toFormat_format() 767 Format format = test.toFormat(); in test_toFormat_format_null() 774 Format format = test.toFormat(); in test_toFormat_format_notTemporal() 782 Format format = test.toFormat(); in test_toFormat_parseObject_String() 791 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseError() 804 Format format = test.toFormat(); in test_toFormat_parseObject_String_parseErrorLongText() 818 Format format = test.toFormat(); in test_toFormat_parseObject_String_null() 826 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition() 838 Format format = test.toFormat(); in test_toFormat_parseObject_StringParsePosition_parseError() [all …]
|
/libcore/ojluni/annotations/mmodule/java/text/ |
D | DateFormat.annotated.java | 50 public abstract class DateFormat extends java.text.Format { 165 public static class Field extends java.text.Format.Field {
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | NumberFormat.java | 45 public abstract class NumberFormat extends java.text.Format { 257 public static class Field extends java.text.Format.Field {
|
D | DateFormat.java | 45 public abstract class DateFormat extends java.text.Format { 231 public static class Field extends java.text.Format.Field {
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 50 public abstract class NumberFormat extends java.text.Format { 134 public static class Field extends java.text.Format.Field {
|
D | DateFormat.annotated.java | 50 public abstract class DateFormat extends java.text.Format { 161 public static class Field extends java.text.Format.Field {
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 76 import java.text.Format; 2043 public Format toFormat() { in toFormat() 2063 public Format toFormat(TemporalQuery<?> parseQuery) { in toFormat() 2092 static class ClassicFormat extends Format {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 214 objToSave = new java.text.Format() { in test_writeObject_Format() 229 if (!(obj instanceof java.text.Format)) in test_writeObject_Format() 231 return save.equals(((java.text.Format) obj).parseObject( in test_writeObject_Format() 236 ((java.text.Format) objToSave).parseObject("Test", null); in test_writeObject_Format()
|
/libcore/mmodules/core_platform_api/api/legacy_platform/ |
D | current-api.txt | 846 public abstract class DateFormat extends java.text.Format {
|
/libcore/ |
D | openjdk_java_files.bp | 762 "ojluni/src/main/java/java/text/Format.java",
|