Home
last modified time | relevance | path

Searched refs:getNumericCode (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java162 assertEquals(840, Currency.getInstance("USD").getNumericCode()); in test_getNumericCode()
163 assertEquals(826, Currency.getInstance("GBP").getNumericCode()); in test_getNumericCode()
164 assertEquals(999, Currency.getInstance("XXX").getNumericCode()); in test_getNumericCode()
165 assertEquals(0, Currency.getInstance("XFU").getNumericCode()); in test_getNumericCode()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java526 public int getNumericCode() { in getNumericCode() method in Currency
529 return icuCurrency.getNumericCode(); in getNumericCode()