harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pons Rudy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6485) [classlib][text] DecimalFormat applyPattern error
Date Mon, 29 Mar 2010 00:53:27 GMT
[classlib][text] DecimalFormat applyPattern error
-------------------------------------------------

                 Key: HARMONY-6485
                 URL: https://issues.apache.org/jira/browse/HARMONY-6485
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 6.0M1
            Reporter: Pons Rudy


DecimalFormat's methods applyPattern and applyLocalizedPattern don't update max/min integer/fraction
digits :
DecimalFormat df = new DecimalFormat();
df.applyPattern("#00.0#");
System.out.print(df.getMinimumIntegerDigits() + " " + df.getMaximumIntegerDigits() + " " +
df.getMinimumFractionDigits() + " " + df.getMaximumFractionDigits());
will print 1 309 0 3 instead of 2 3 1 2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message