From 618bf37b0547c0e994af34ea1e128af320410736 Mon Sep 17 00:00:00 2001 From: Tania Bento Date: Thu, 5 Apr 2007 00:15:16 +0000 Subject: DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency. 2007-04-04 Tania Bento * 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 --- .../lib/java/text/DecimalFormatSymbols.class | Bin 6530 -> 6861 bytes libjava/classpath/lib/java/util/Currency.class | Bin 3337 -> 4292 bytes 2 files changed, 0 insertions(+), 0 deletions(-) (limited to 'libjava/classpath/lib/java') diff --git a/libjava/classpath/lib/java/text/DecimalFormatSymbols.class b/libjava/classpath/lib/java/text/DecimalFormatSymbols.class index a88226f..253b14e 100644 Binary files a/libjava/classpath/lib/java/text/DecimalFormatSymbols.class and b/libjava/classpath/lib/java/text/DecimalFormatSymbols.class differ diff --git a/libjava/classpath/lib/java/util/Currency.class b/libjava/classpath/lib/java/util/Currency.class index 147415c..b2ca131 100644 Binary files a/libjava/classpath/lib/java/util/Currency.class and b/libjava/classpath/lib/java/util/Currency.class differ -- cgit v1.1