OSDN Git Service

2007-04-04 Tania Bento <tbento@redhat.com>
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2007 00:15:16 +0000 (00:15 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2007 00:15:16 +0000 (00:15 +0000)
commitb27009bc3eaaeb79bd7270d4d38b1f6938202262
treeb659460d69becef2f5b04af277ac9f35a6b13f7f
parent91872b3662e5805a04f3d817cfc3e4be20a778b9
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
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