DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduce...
authorTania Bento <tbento@redhat.com>
Thu, 5 Apr 2007 00:15:16 +0000 (00:15 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 5 Apr 2007 00:15:16 +0000 (00:15 +0000)
commit618bf37b0547c0e994af34ea1e128af320410736
treeb659460d69becef2f5b04af277ac9f35a6b13f7f
parentdabf62003ec4a2d31f5b276650b1554db840601a
DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency.

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".

From-SVN: r123512
libjava/ChangeLog
libjava/classpath/lib/java/text/DecimalFormatSymbols.class
libjava/classpath/lib/java/util/Currency.class
libjava/gnu/java/net/PlainSocketImpl.h
libjava/gnu/java/util/jar/JarUtils.h
libjava/java/lang/VMCompiler.h
libjava/java/text/DecimalFormatSymbols.h
libjava/java/text/DecimalFormatSymbols.java
libjava/java/util/Currency.h
libjava/java/util/Currency.java