DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} using the specified non-localized * pattern and {@code DecimalFormatSymbols}. * * @param pattern * the non-localized pattern. * @param value * the DecimalFormatSymbols. * @throws IllegalArgumentException * if the pattern cannot be parsed. */ public DecimalFormat(String pattern, DecimalFormatSymbols value) { this.symbols = (DecimalFormatSymbols) value.clone(); initNative(pattern); }
this.symbols = (DecimalFormatSymbols) fields.get("symbols", null); initNative(""); ndf.setPositivePrefix((String) fields.get("positivePrefix", "")); ndf.setPositiveSuffix((String) fields.get("positiveSuffix", ""));
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
DecimalFormat(String pattern, Locale locale) { this.symbols = new DecimalFormatSymbols(locale); initNative(pattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} for formatting and parsing numbers * for the user's default locale. * See "<a href="../util/Locale.html#default_locale">Be wary of the default locale</a>". */ public DecimalFormat() { Locale locale = Locale.getDefault(); this.symbols = new DecimalFormatSymbols(locale); initNative(LocaleData.get(locale).numberPattern); }
/** * Constructs a new {@code DecimalFormat} using the specified non-localized * pattern and {@code DecimalFormatSymbols}. * * @param pattern * the non-localized pattern. * @param value * the DecimalFormatSymbols. * @throws IllegalArgumentException * if the pattern cannot be parsed. */ public DecimalFormat(String pattern, DecimalFormatSymbols value) { this.symbols = (DecimalFormatSymbols) value.clone(); initNative(pattern); }
/** * Constructs a new {@code DecimalFormat} using the specified non-localized * pattern and {@code DecimalFormatSymbols}. * * @param pattern * the non-localized pattern. * @param value * the DecimalFormatSymbols. * @throws IllegalArgumentException * if the pattern cannot be parsed. */ public DecimalFormat(String pattern, DecimalFormatSymbols value) { this.symbols = (DecimalFormatSymbols) value.clone(); initNative(pattern); }
/** * Constructs a new {@code DecimalFormat} using the specified non-localized * pattern and {@code DecimalFormatSymbols}. * * @param pattern * the non-localized pattern. * @param value * the DecimalFormatSymbols. * @throws IllegalArgumentException * if the pattern cannot be parsed. */ public DecimalFormat(String pattern, DecimalFormatSymbols value) { this.symbols = (DecimalFormatSymbols) value.clone(); initNative(pattern); }
/** * Constructs a new {@code DecimalFormat} using the specified non-localized * pattern and {@code DecimalFormatSymbols}. * * @param pattern * the non-localized pattern. * @param value * the DecimalFormatSymbols. * @throws IllegalArgumentException * if the pattern cannot be parsed. */ public DecimalFormat(String pattern, DecimalFormatSymbols value) { this.symbols = (DecimalFormatSymbols) value.clone(); initNative(pattern); }