Bug 22696 - More java.text classes, first implementation of Currency
Summary: More java.text classes, first implementation of Currency
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 14:37 UTC by from-classpath
Modified: 2005-07-23 22:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2003-08-27 14:37:02 UTC
* New internal class to handle character iterators with attributes.
* New Java 1.4 methods "formatToCharacterIterator" in formatters
* New inner classes "*Format.Field"
* New Currency class
* small cleanup of the former RuleBasedCollator
Patch not tested for compliance with Java 1.4 but built using Java 1.4 documentation.
Comment 1 from-classpath 2003-10-24 15:18:29 UTC
java.util.Currency checked in.

AttributedCharacterIterator.java, reformatting ignored for now since Michael Koch is also working in this area.

The following was added (after making sure lines were < 80 characters).

        From Guilhem Lavaux  <guilhem.lavaux@free.fr>
        * java/text/DateFormat.java (Field): New public static inner class.
        * java/text/Format.java (Field): Likewise.
        (formatToCharacterIterator): New method.
        * java/text/FormatCharacterIterator.java: New file.
        * java/text/Makefile.am (EXTRA_DIST): Add
        FormatCharacterIterator.java.

Still have to look at the rest of the patch (it doesn't apply cleanly anymore).

It would be nice to have Mauve test cases for this new functionality.
Comment 2 from-classpath 2004-03-12 13:22:47 UTC
I believe this is all in CVS now.
If correct, please close this Guilhem.

Thanks,

Mark