2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2004 22:00:30 +0000 (22:00 +0000)
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2004 22:00:30 +0000 (22:00 +0000)
commit5ccc4a9c16b9aecebd29ba8e752a0e2915e64d53
treedefe099ae4d498f26593658eecf72a09b38fb5a2
parent6fada63715e720039e87318d593389117aa715ab
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.

2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/DecimalFormat.java
(scanFix): Build attribute array. Fixed error reporting.
(applyPatternWithSymbols): Store attributes for the prefix and
suffix.
(formatInternal): New method. Changed the way the string is
computed. Implemented attributes. Cleant up rounding in
exponential notation.
(format): Use formatInternal.
(formatToCharacterIterator): New method.
(exponentRound, negativePrefixRanges, positivePrefixRanges,
negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
New fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81491 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/text/DecimalFormat.java