diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-05 00:15:16 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-05 00:15:16 +0000 |
commit | b27009bc3eaaeb79bd7270d4d38b1f6938202262 (patch) | |
tree | b659460d69becef2f5b04af277ac9f35a6b13f7f /libjava/classpath/lib/java | |
parent | 91872b3662e5805a04f3d817cfc3e4be20a778b9 (diff) | |
download | gcc-b27009bc3eaaeb79bd7270d4d38b1f6938202262.tar.gz |
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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123512 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java')
-rw-r--r-- | libjava/classpath/lib/java/text/DecimalFormatSymbols.class | bin | 6530 -> 6861 bytes |
-rw-r--r-- | libjava/classpath/lib/java/util/Currency.class | bin | 3337 -> 4292 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/libjava/classpath/lib/java/text/DecimalFormatSymbols.class b/libjava/classpath/lib/java/text/DecimalFormatSymbols.class Binary files differindex a88226feba5..253b14efe4f 100644 --- a/libjava/classpath/lib/java/text/DecimalFormatSymbols.class +++ b/libjava/classpath/lib/java/text/DecimalFormatSymbols.class diff --git a/libjava/classpath/lib/java/util/Currency.class b/libjava/classpath/lib/java/util/Currency.class Binary files differindex 147415ca1e9..b2ca13189c6 100644 --- a/libjava/classpath/lib/java/util/Currency.class +++ b/libjava/classpath/lib/java/util/Currency.class |