- of
Obtains an instance of Money for the specified CurrencyAmount.
- <init>
Creates an instance.
- compareTo
Compares this money to another. This compares currencies alphabetically, then by
amount.
- convertedTo
Converts this amount to an equivalent amount the specified currency. The result
will be expressed in
- equals
Checks if this money equals another.
- getAmount
Gets the amount of the currency as an instance of BigDecimal. The amount will be
rounded to the curr
- hashCode
Returns a suitable hash code for the currency.
- parse
Parses the string to produce a Money. This parses the toString format of
'${currency} ${amount}'.
- toString
Gets the amount as a string. The format is the currency code, followed by a
space, followed by the a