OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:usd
(Results
1 - 4
of
4
) sorted by null
/libcore/luni/src/test/java/libcore/java/util/
CurrencyTest.java
64
Currency.getInstance("
USD
");
79
assertTrue(all.toString(), all.contains(Currency.getInstance("
USD
")));
123
assertEquals(2, Currency.getInstance("
USD
").getDefaultFractionDigits());
150
Currency
usd
= Currency.getInstance("
USD
");
local
151
String actual = SerializationTester.serializeHex(
usd
);
158
assertSame("Currency objects should be singletons",
usd
, deserializedUsd);
162
assertEquals(840, Currency.getInstance("
USD
").getNumericCode());
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
CurrencyTest.java
52
Currency
usd
= Currency.getInstance("
USD
");
local
53
/*int hash = */
usd
.hashCode();
55
if (
usd
.equals(jpy)) {
56
errln("FAIL:
USD
== JPY");
58
if (
usd
.equals("abc")) {
59
errln("FAIL:
USD
== (String)");
61
if (
usd
.equals(null)) {
62
errln("FAIL:
USD
== (null)");
64
if (!
usd
.equals(usd))
104
final Currency
usd
= Currency.getInstance(Locale.US);
local
192
Currency
usd
= Currency.getInstance("USD");
local
219
Currency
usd
= Currency.getInstance("USD");
local
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
CurrencyTest.java
51
Currency
usd
= Currency.getInstance("
USD
");
local
52
/*int hash = */
usd
.hashCode();
54
if (
usd
.equals(jpy)) {
55
errln("FAIL:
USD
== JPY");
57
if (
usd
.equals("abc")) {
58
errln("FAIL:
USD
== (String)");
60
if (
usd
.equals(null)) {
61
errln("FAIL:
USD
== (null)");
63
if (!
usd
.equals(usd))
103
final Currency
usd
= Currency.getInstance(Locale.US);
local
191
Currency
usd
= Currency.getInstance("USD");
local
218
Currency
usd
= Currency.getInstance("USD");
local
[
all
...]
/libcore/luni/src/test/java/libcore/java/text/
DecimalFormatSymbolsTest.java
65
dfs.setCurrency(Currency.getInstance("
USD
"));
69
dfs.setCurrency(Currency.getInstance("
USD
"));
74
Currency
usd
= Currency.getInstance("
USD
");
local
77
dfs.setCurrency(
usd
);
78
assertEquals(
usd
, dfs.getCurrency());
80
assertEquals("
USD
", dfs.getInternationalCurrencySymbol());
Completed in 253 milliseconds