r123513 - in /branches/redhat/gcc-4_1-branch/li...
tromey@gcc.gnu.org
tromey@gcc.gnu.org
Thu Apr 5 00:41:00 GMT 2007
Author: tromey
Date: Thu Apr 5 01:41:40 2007
New Revision: 123513
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123513
Log:
2007-04-04 Tania Bento <tbento@redhat.com>
* java/text/DecimalFormatSymbols.java: Added the year 2007 to
Copyright information and introduced new variable, currency.
(DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
to "XXX", currencySymbol to "?" and localCurrency appropriately.
(getCurrency): Fixed documentation and return the value of currency.
(setCurrency): Fixed documentation and update the value of currency.
(setInternationalCurrencySymbol): Fixed documentation and update the
value of currency.
* java/util/Currency.java: Introduced two new variables, properties
and fractionDigits. In the static block, a properties object is
created and the currency resource is loaded.
(Currency(Locale)): fractionDigits is defined.
(Currency(String)): New method.
(getDefaultFractionDigits): Return the value of fractionDigits.
(getInstance(String)): Check if String is equal to "XXX".
Modified:
branches/redhat/gcc-4_1-branch/libjava/ChangeLog
branches/redhat/gcc-4_1-branch/libjava/java/text/DecimalFormatSymbols.java
branches/redhat/gcc-4_1-branch/libjava/java/util/Currency.java
More information about the Gcc-cvs
mailing list