public static Currency getInstance ( String theISOCode ) { if ( theISOCode == null ) { throw new NullPointerException ( "The input currency code is null." ) ; } if ( ! isAlpha3Code ( theISOCode ) ) { throw new IllegalArgumentException ( "The input currency code is not 3-letter alphabetic code." ) ; } return ( Currency ) MeasureUnit . internalGetInstance ( "currency" , theISOCode . toUpperCase ( Locale . ENGLISH ) ) ; }
Returns a currency object given an ISO 4217 3 - letter code .