/libcore/ojluni/src/main/java/java/text/ |
D | Format.java | 230 public abstract Object parseObject (String source, ParsePosition pos); in parseObject() method in Format 241 public Object parseObject(String source) throws ParseException { in parseObject() method in Format 243 Object result = parseObject(source, pos); in parseObject()
|
D | DateFormat.java | 419 public Object parseObject(String source, ParsePosition pos) { in parseObject() method in DateFormat
|
D | NumberFormat.java | 275 public final Object parseObject(String source, ParsePosition pos) { in parseObject() method in NumberFormat
|
D | MessageFormat.java | 1015 = formats[i].parseObject(source,tempStatus); in parse() 1080 public Object parseObject(String source, ParsePosition pos) { in parseObject() method in MessageFormat
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NumberFormatTest.java | 139 new Long(35), format.parseObject("35.76")); in test_getIntegerInstance() 166 new Long(-36), format.parseObject("-36")); in test_getIntegerInstanceLjava_util_Locale() 189 new Long(36), format.parseObject("36-")); in test_getIntegerInstanceLjava_util_Locale() 254 assertNull(NumberFormat.getInstance().parseObject("0", new ParsePosition(-1))); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 258 NumberFormat.getInstance().parseObject("test", null); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
|
D | MessageFormatTest.java | 162 res = (Object[]) mf.parseObject(result, pp); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() 173 res = (Object[]) mf.parseObject(partialCorrect, pp); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() 180 mf.parseObject(result, null); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldFormatTest.java | 39 public Object parseObject(String source, ParsePosition pos) { in parseObject() method in OldFormatTest.MockFormat 89 assertNull(mf.parseObject("")); in test_parseObjectLjava_lang_String()
|
D | OldNumberFormatTest.java | 36 assertEquals(new Long(-36), format.parseObject("-36")); in test_getIntegerInstanceLjava_util_Locale() 46 assertEquals(new Long(-36), format.parseObject("-36")); in test_getIntegerInstanceLjava_util_Locale() 60 assertEquals(36L, format.parseObject("36-")); in test_getIntegerInstanceLjava_util_Locale() 111 assertNull(NumberFormat.getInstance().parseObject("0", in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 149 NumberFormat.getInstance().parseObject("test", null); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 159 Object result = nf.parseObject(sourseStr, position); in parseObjectTest() 795 nf1.parseObject("-123.123"), nf1.parse("-123.123")); in test_parseLjava_lang_String()
|
D | OldDateFormatTest.java | 387 Date result = (Date) df.parseObject(df.format(current), pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 404 result = (Date) df.parseObject(partialCorrect, pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 416 result = (Date) df.parseObject(new String(newArray), pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 428 df.parseObject(df.format(current), null); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 434 assertNull(df.parseObject("test", pp)); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 783 TemporalAccessor result = (TemporalAccessor) format.parseObject("ONE30"); in test_toFormat_parseObject_String() 793 format.parseObject("ONEXXX"); in test_toFormat_parseObject_String_parseError() 806 …format.parseObject("ONEXXX678901234567890123456789012345678901234567890123456789012345678901234567… in test_toFormat_parseObject_String_parseErrorLongText() 819 format.parseObject((String) null); in test_toFormat_parseObject_String_null() 828 TemporalAccessor result = (TemporalAccessor) format.parseObject("ONE30XXX", pos); in test_toFormat_parseObject_StringParsePosition() 840 TemporalAccessor result = (TemporalAccessor) format.parseObject("ONEXXX", pos); in test_toFormat_parseObject_StringParsePosition_parseError() 852 format.parseObject((String) null, pos); in test_toFormat_parseObject_StringParsePosition_nullString() 860 format.parseObject("ONE30", (ParsePosition) null); in test_toFormat_parseObject_StringParsePosition_nullParsePosition() 869 assertNull(test.parseObject("ONE30", pos)); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooBig() 879 assertNull(test.parseObject("ONE30", pos)); in test_toFormat_parseObject_StringParsePosition_invalidPosition_tooSmall() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | NumberFormat.java | 58 public final java.lang.Object parseObject( in parseObject() method in NumberFormat
|
D | DateFormat.java | 73 public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos) { in parseObject() method in DateFormat
|
/libcore/ojluni/annotations/mmodule/java/text/ |
D | DateFormat.annotated.java | 64 public java.lang.Object parseObject(java.lang.String source, java.text.ParsePosition pos) { throw n… in parseObject() method in DateFormat
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | NumberFormat.annotated.java | 56 @libcore.util.Nullable public final java.lang.Object parseObject(@libcore.util.NonNull java.lang.St… in parseObject() method in NumberFormat
|
D | DateFormat.annotated.java | 64 @libcore.util.Nullable public java.lang.Object parseObject(@libcore.util.NonNull java.lang.String s… in parseObject() method in DateFormat
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 2121 public Object parseObject(String text) throws ParseException { in parseObject() method in DateTimeFormatter.ClassicFormat 2135 public Object parseObject(String text, ParsePosition pos) { in parseObject() method in DateTimeFormatter.ClassicFormat
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 222 public Object parseObject(String p1, java.text.ParsePosition p2) { 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/api/ |
D | current.txt | 10241 method @Nullable public Object parseObject(@NonNull String, @NonNull java.text.ParsePosition); 10411 method public abstract Object parseObject(String, java.text.ParsePosition); 10412 method public Object parseObject(String) throws java.text.ParseException; 10431 method public Object parseObject(String, java.text.ParsePosition); 10485 …method @Nullable public final Object parseObject(@NonNull String, @NonNull java.text.ParsePosition…
|