[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: java.text updates
From: |
Guilhem Lavaux |
Subject: |
FYI: java.text updates |
Date: |
Wed, 28 Apr 2004 21:15:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 |
Hi,
Without any furious replies from classpath's developers ;). I am
checking in the following patches into the CVS. They have been sent to
the mailing list on the 2004-04-10 and 2004-04-11.
2004-04-28 Guilhem Lavaux <address@hidden>
* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* gnu/java/text/Makefile.am: Added new files to EXTRA_DIST.
* java/text/Makefile.am: Removed moved classes from EXTRA_DIST.
2004-04-28 Guilhem Lavaux <address@hidden>
* java/text/MessageFormat.java:
(class Field): New class.
(formatToCharacterIterator): New method.
(format): Use formatInternal now.
(formatInternal): New method. String formatter should
be done here (with attributes). Attributes merging supported.
(parse): More documentation.
(getFormatsByArgumentIndex): New method.
(setFormatByArgumentIndex): New method.
(setFormatsByArgumentIndex): New method.
2004-04-28 Guilhem Lavaux <address@hidden>
* java/text/SimpleDateFormat.java:
(formatWithAttribute): New method. It implements
the formatting process with attributes.
(format): Use formatWithAttribute.
(formatToCharacterIterator): New method. Use
formatWithAttribute.
2004-04-28 Guilhem Lavaux <address@hidden>
* 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.
2004-04-28 Guilhem Lavaux <address@hidden>
* java/text/Format.java: Updated importations. Removed unnecessary
classes.
Cheers,
Guilhem.
- FYI: java.text updates,
Guilhem Lavaux <=