Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java2727 public String getNegativePrefix () { in getNegativePrefix() method in DecimalFormat
2730 return icuDecimalFormat.getNegativePrefix(); in getNegativePrefix()
4238 fields.put("negativePrefix", icuDecimalFormat.getNegativePrefix()); in writeObject()
4366 if (!Objects.equals(negativePrefix, icuDecimalFormat.getNegativePrefix())) { in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java660 assertTrue("Incorrect negative prefix", df.getNegativePrefix().equals("--")); in test_getNegativePrefix()
721 assertEquals("-", format.getNegativePrefix()); in test_setNegativePrefix()
724 assertEquals("NegPrf", format.getNegativePrefix()); in test_setNegativePrefix()
727 assertEquals("", format.getNegativePrefix()); in test_setNegativePrefix()
734 assertNotNull(format.getNegativePrefix()); in test_setNegativePrefix()
1966 assertEquals(df.getNegativePrefix(), deserializedDF.getNegativePrefix()); in testSerializationHarmonyRICompatible()
/libcore/ojluni/src/main/java/java/util/
DScanner.java1218 negativePrefix = df.getNegativePrefix(); in useLocale()