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.java2674 public String getPositivePrefix () { in getPositivePrefix() method in DecimalFormat
2677 return icuDecimalFormat.getPositivePrefix(); in getPositivePrefix()
3170 return super.hashCode() * 37 + getPositivePrefix().hashCode(); in hashCode()
4236 fields.put("positivePrefix", icuDecimalFormat.getPositivePrefix()); in writeObject()
4356 if (!Objects.equals(positivePrefix, icuDecimalFormat.getPositivePrefix())) { in readObject()
/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()
697 assertNotNull(format.getPositivePrefix()); in test_setPositivePrefix()
1968 assertEquals(df.getPositivePrefix(), deserializedDF.getPositivePrefix()); in testSerializationHarmonyRICompatible()
/libcore/ojluni/src/main/java/java/util/
DScanner.java1215 positivePrefix = df.getPositivePrefix(); in useLocale()