Home
last modified time | relevance | path

Searched refs:getPositivePrefix (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java866 public String getPositivePrefix () { in getPositivePrefix() method in DecimalFormat
867 return icuDecimalFormat.getPositivePrefix(); in getPositivePrefix()
1138 return super.hashCode() * 37 + getPositivePrefix().hashCode(); in hashCode()
1523 fields.put("positivePrefix", icuDecimalFormat.getPositivePrefix()); in writeObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java672 assertTrue("Incorrect positive prefix", df.getPositivePrefix().equals("++")); in test_getPositivePrefix()
683 assertEquals("", format.getPositivePrefix()); in test_setPositivePrefix()
686 assertEquals("PosPrf", format.getPositivePrefix()); in test_setPositivePrefix()
690 assertEquals("", format.getPositivePrefix()); in test_setPositivePrefix()
693 assertNull(format.getPositivePrefix()); in test_setPositivePrefix()
1944 assertEquals(df.getPositivePrefix(), deserializedDF.getPositivePrefix()); in testSerializationHarmonyRICompatible()
/libcore/ojluni/src/main/java/java/util/
DScanner.java1210 positivePrefix = df.getPositivePrefix(); in useLocale()