Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Class
java.util.Currency

Packages that use Currency
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Currency in java.text
 

Methods in java.text that return Currency
 Currency NumberFormat.getCurrency()
          Gets the currency used by this number format when formatting currency values.
 Currency DecimalFormatSymbols.getCurrency()
          Gets the currency of these DecimalFormatSymbols.
 Currency DecimalFormat.getCurrency()
          Gets the currency used by this decimal format when formatting currency values.
 

Methods in java.text with parameters of type Currency
 void NumberFormat.setCurrency(Currency currency)
          Sets the currency used by this number format when formatting currency values.
 void DecimalFormatSymbols.setCurrency(Currency currency)
          Sets the currency of these DecimalFormatSymbols.
 void DecimalFormat.setCurrency(Currency currency)
          Sets the currency used by this number format when formatting currency values.
 

Uses of Currency in java.util
 

Methods in java.util that return Currency
static Currency Currency.getInstance(String currencyCode)
          Returns the Currency instance for the given currency code.
static Currency Currency.getInstance(Locale locale)
          Returns the Currency instance for the country of the given locale.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.