Lines Matching refs:DecimalFormat
58 * <code>DecimalFormat</code> is a concrete subclass of
69 * <code>DecimalFormat</code> constructors directly, since the
71 * <code>DecimalFormat</code>. If you need to customize the format object, do
76 * if (f instanceof DecimalFormat) {
77 * ((DecimalFormat) f).setDecimalSeparatorAlwaysShown(true);
81 * <p>A <code>DecimalFormat</code> comprises a <em>pattern</em> and a set of
90 * <code>DecimalFormat</code> patterns have the following syntax:
127 * <p>A <code>DecimalFormat</code> pattern contains a positive and negative
144 * suffixes must be distinct for <code>DecimalFormat.parse()</code> to be able
146 * <code>DecimalFormat</code> will behave as if no negative subpattern was
250 * <code>DecimalFormat</code> can be instructed to format and parse scientific
293 * <code>DecimalFormat</code> provides rounding modes defined in
299 * For formatting, <code>DecimalFormat</code> uses the ten consecutive
360 * if (form instanceof DecimalFormat) {
361 * System.out.print(": " + ((DecimalFormat) form).toPattern());
378 public class DecimalFormat extends NumberFormat {
381 * Creates a DecimalFormat using the default pattern and symbols
383 * DecimalFormat when internationalization is not the main concern.
395 public DecimalFormat() {
415 * Creates a DecimalFormat using the given pattern and the symbols
417 * DecimalFormat when internationalization is not the main concern.
432 public DecimalFormat(String pattern) {
440 * Creates a DecimalFormat using the given pattern and symbols.
460 public DecimalFormat (String pattern, DecimalFormatSymbols symbols) {
889 /* Per bug 4147706, DecimalFormat must respect the sign of numbers which
1228 * <code>DecimalFormat</code> does <em>not</em> decide whether to
1247 * <code>DecimalFormat</code> parses all Unicode characters that represent
1249 * addition, <code>DecimalFormat</code> also recognizes as digits the ten
1895 DecimalFormat other = (DecimalFormat) super.clone();
1911 DecimalFormat other = (DecimalFormat) obj;
2827 * Gets the {@link java.math.RoundingMode} used in this DecimalFormat.
2829 * @return The <code>RoundingMode</code> used for this DecimalFormat.
2838 * Sets the {@link java.math.RoundingMode} used in this DecimalFormat.
3004 * <code>null</code> for <code>DecimalFormat</code> objects older than
3196 * The {@link java.math.RoundingMode} used in this DecimalFormat.