Tabnine Logo
NativeDecimalFormat.setCurrency
Code IndexAdd Tabnine to your IDE (free)

How to use
setCurrency
method
in
libcore.icu.NativeDecimalFormat

Best Java code snippets using libcore.icu.NativeDecimalFormat.setCurrency (Showing top 7 results out of 315)

origin: robovm/robovm

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: com.gluonhq/robovm-rt

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: FlexoVM/flexovm

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: MobiVM/robovm

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: ibinti/bugvm

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
origin: com.bugvm/bugvm-rt

/**
 * Sets the currency used by this decimal format. The min and max fraction
 * digits remain the same.
 *
 * @param currency
 *            the currency this {@code DecimalFormat} should use.
 * @see DecimalFormatSymbols#setCurrency(Currency)
 */
@Override
public void setCurrency(Currency currency) {
  ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode()));
  symbols.setCurrency(currency);
}
libcore.icuNativeDecimalFormatsetCurrency

Popular methods of NativeDecimalFormat

  • <init>
  • applyLocalizedPattern
  • applyPattern
  • applyPatternImpl
  • clone
  • cloneImpl
  • close
  • equals
    Note: this doesn't check that the underlying native DecimalFormat objects' configured native Decimal
  • formatBigDecimal
  • formatBigInteger
  • formatDigitList
  • formatDouble
  • formatDigitList,
  • formatDouble,
  • formatLong,
  • formatToCharacterIterator,
  • getAttribute,
  • getGroupingSize,
  • getMaximumFractionDigits,
  • getMaximumIntegerDigits,
  • getMinimumFractionDigits,
  • getMinimumIntegerDigits

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now