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

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JCheckBox (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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