| Constructor and Description |
|---|
Currency(String isocode,
int digits)
Creates a new currency with given iso code and digits.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
|
int |
getDigits() |
String |
getIsoCode() |
int |
hashCode() |
String |
toString() |
static Currency |
valueOf(String code,
int digits)
Shortcut for getting commonly used currency instances.
|
public Currency(String isocode, int digits)
public static Currency valueOf(String code, int digits)
Currency(String, int) since this method caches instances.public boolean equals(Object obj)
public String getIsoCode()
public int getDigits()
Copyright © 2017 SAP SE. All Rights Reserved.