This is the mail archive of the mauve-patches@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java.util.Currency tests


Attached is a series of tests for the java.util.Currency class, based on
the behaviour I believe to be correct from the on-line documentation. 
There are three types of test included:

* A series of tests for retrieving an instance of the class correctly,
with appropriate exceptions being thrown.
* A series of tests for ensuring that only one Currency instance exists
per locale (the class is a Singleton).  This fails on GNU Classpath at
present, but there should be a pending patch by myself which corrects
this.
* A series of tests for each of the locales available from Locale.XXX.
There should really be as many of these as possible (what is in this
patch is just a bare minimum).  New tests should be easy enough to
create by changing the constant strings at the top of the class.
Possibly a script and gnu.java.LocaleInformation could be used to
generate some.

The later section has some specialisations I believe to be correct from
the documentation:

* The E.U. member states which have adopted the Euro should return the
values for this rather the native currency after the change over date. 
This is true for the included tests on France, Germany and Italy, with
the changeover of 1/1/2002.  GNU Classpath does not currently handle
this.  Really, we probably need some way of returning date-dependent
locale information (this also gives future proofing for other changes
that may occur), but at a minimum, these countries should have their
locale information updated.  The pre-Euro currencies are no longer
valid.
* The test of the U.S. currency uses getSymbol(java.util.Locale) to test
for a different result from within the U.S. ($) and without (US$), based
on the documentation for this method.  This method should give the
symbol used by the specified locale to represent the specified currency
(which has its own locale).  So, getSymbol(Locale.US) should give
an American currency of $, while getSymbol(Locale.CANADA) should give
US$.  As is, the GNU Classpath version just does the equivalent of
Currency.getInstance(locale).getSymbol() and returns that.

Let me know if this is okay to commit.

Cheers,
-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner

Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.697
diff -u -3 -p -u -r1.697 ChangeLog
--- ChangeLog	17 Oct 2004 12:24:11 -0000	1.697
+++ ChangeLog	17 Oct 2004 20:21:11 -0000
@@ -1,3 +1,22 @@
+2004-10-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
+
+	* gnu/testlet/java/util/Currency/
+	(Canada.java): New class of tests for the Canadian currency.
+	(CanadaFrench.java): New class of tests for the French Canadian currency.
+	(China.java): New class of tests for the Chinese currency.
+	(Constructors.java): New class of tests for the currency constructors (getInstance())
+	(France.java): New class of tests for the French currency.
+	(Germany.java): New class of tests for the German currency.
+	(Italy.java): New class of tests for the Italian currency.
+	(Japan.java): New class of tests for the Japanese currency.
+	(Korea.java): New class of tests for the Korean currency.
+	(PRC.java): New class of tests for the People's Republic of China's currency.
+	(ReferenceEquality.java): New class of tests to check that there is only one instance
+                                  of the Currency class for each locale.
+        (Taiwan.java): New class of tests for the Taiwanese currency.
+	(UK.java): New class of tests for the UK's currency.
+	(US.java): New class of tests for the American currency.
+
 2004-10-17  Jeroen Frijters  <jeroen@frijters.net>
 
 	* gnu/testlet/java/util/Date/range.java
Index: gnu/testlet/java/util/Currency/Canada.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Canada.java
diff -N gnu/testlet/java/util/Currency/Canada.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Canada.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Canadian currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Canada implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.CANADA;
+  private static final String ISO4217_CODE = "CAD";
+  private static final String CURRENCY_SYMBOL = "$";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/CanadaFrench.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/CanadaFrench.java
diff -N gnu/testlet/java/util/Currency/CanadaFrench.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/CanadaFrench.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the French Canadian currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class CanadaFrench implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.CANADA_FRENCH;
+  private static final String ISO4217_CODE = "CAD";
+  private static final String CURRENCY_SYMBOL = "$";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/China.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/China.java
diff -N gnu/testlet/java/util/Currency/China.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/China.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Chinese currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class China implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.CHINA;
+  private static final String ISO4217_CODE = "CNY";
+  private static final String CURRENCY_SYMBOL = "\uFFE5";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/Constructors.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Constructors.java
diff -N gnu/testlet/java/util/Currency/Constructors.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Constructors.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,81 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the currency constructors.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Constructors implements Testlet
+{
+
+  private static final String INVALID_CURRENCY_CODE = "GNU";
+  private static final String UK_CURRENCY_CODE = "GBP";
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+    boolean threwException;
+
+    /* Check getInstance with a null string */
+    threwException = false;
+    try
+      {
+        currency = Currency.getInstance((String) null);
+      }
+    catch (NullPointerException exception)
+      {
+        threwException = true;
+      }
+    harness.check(threwException, "Currency instance request with null string exception check.");
+    /* Check getInstance with a non-existant ISO string */
+    threwException = false;
+    try
+      {
+        currency = Currency.getInstance(INVALID_CURRENCY_CODE);
+      }
+    catch (IllegalArgumentException exception)
+      {
+        threwException = true;
+      }
+    harness.check(threwException, "Currency instance request with invalid currency code string exception check.");
+    /* Check getInstance with a null locale */
+    threwException = false;
+    try
+      {
+        currency = Currency.getInstance((Locale) null);
+      }
+    catch (NullPointerException exception)
+      {
+        threwException = true;
+      }
+    harness.check(threwException, "Currency instance request with null locale exception check.");
+
+
+  }
+}
Index: gnu/testlet/java/util/Currency/France.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/France.java
diff -N gnu/testlet/java/util/Currency/France.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/France.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,95 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Calendar;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the French currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class France implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.FRANCE;
+  private static final String ISO4217_CODE = "FRF";
+  private static final String CURRENCY_SYMBOL = ").";
+  private static final int FRACTION_DIGITS = 2;
+  private static final String EURO_ISO4217_CODE = "EUR";
+  private static final String EURO_CURRENCY_SYMBOL = "\u20AC";
+  private static final int EURO_FRACTION_DIGITS = 2;
+  private static final int EURO_CHANGE_YEAR = 2002;
+  private static final int EURO_CHANGE_MONTH = 0;
+  private static final int EURO_CHANGE_DATE = 1;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+    Calendar calendar;
+    Calendar euroCalendar;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Get the current time in the locale */
+    calendar = Calendar.getInstance(TEST_LOCALE);
+    /* Get the Euro change-over time in the locale */
+    euroCalendar = Calendar.getInstance(TEST_LOCALE);
+    euroCalendar.set(EURO_CHANGE_YEAR, EURO_CHANGE_MONTH, EURO_CHANGE_DATE);
+    /* Do different comparisons depending on the state of change to the Euro */
+    if (calendar.after(euroCalendar))
+      {
+        /* Check for the correct currency code */
+        harness.check(currency.getCurrencyCode(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.getCurrencyCode() + ").");
+        /* Check for the correct currency symbol */
+        harness.check(currency.getSymbol(), EURO_CURRENCY_SYMBOL, "Euro currency symbol retrieval check (" +
+                      currency.getSymbol() + ").");
+        /* Check for the correct fraction digits */
+        harness.check(currency.getDefaultFractionDigits(), EURO_FRACTION_DIGITS,
+                      "Euro currency fraction digits retrieval check (" + currency.getDefaultFractionDigits() + ").");
+        /* Check for the correct currency code from toString()*/
+        harness.check(currency.toString(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.toString() + ").");
+      }
+    else
+      {
+          /* Check for the correct currency code */
+          harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                        currency.getCurrencyCode() + ").");
+          /* Check for the correct currency symbol */
+          harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                        currency.getSymbol() + ").");
+          /* Check for the correct fraction digits */
+          harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                        currency.getDefaultFractionDigits() + ").");
+          /* Check for the correct currency code from toString()*/
+          harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check ("
+                        + currency.toString() + ").");
+      }
+  }
+
+}
Index: gnu/testlet/java/util/Currency/Germany.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Germany.java
diff -N gnu/testlet/java/util/Currency/Germany.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Germany.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,95 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Calendar;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the German currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Germany implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.GERMANY;
+  private static final String ISO4217_CODE = "DEM";
+  private static final String CURRENCY_SYMBOL = "DM";
+  private static final int FRACTION_DIGITS = 2;
+  private static final String EURO_ISO4217_CODE = "EUR";
+  private static final String EURO_CURRENCY_SYMBOL = "\u20AC";
+  private static final int EURO_FRACTION_DIGITS = 2;
+  private static final int EURO_CHANGE_YEAR = 2002;
+  private static final int EURO_CHANGE_MONTH = 0;
+  private static final int EURO_CHANGE_DATE = 1;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+    Calendar calendar;
+    Calendar euroCalendar;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Get the current time in the locale */
+    calendar = Calendar.getInstance(TEST_LOCALE);
+    /* Get the Euro change-over time in the locale */
+    euroCalendar = Calendar.getInstance(TEST_LOCALE);
+    euroCalendar.set(EURO_CHANGE_YEAR, EURO_CHANGE_MONTH, EURO_CHANGE_DATE);
+    /* Do different comparisons depending on the state of change to the Euro */
+    if (calendar.after(euroCalendar))
+      {
+        /* Check for the correct currency code */
+        harness.check(currency.getCurrencyCode(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.getCurrencyCode() + ").");
+        /* Check for the correct currency symbol */
+        harness.check(currency.getSymbol(), EURO_CURRENCY_SYMBOL, "Euro currency symbol retrieval check (" +
+                      currency.getSymbol() + ").");
+        /* Check for the correct fraction digits */
+        harness.check(currency.getDefaultFractionDigits(), EURO_FRACTION_DIGITS,
+                      "Euro currency fraction digits retrieval check (" + currency.getDefaultFractionDigits() + ").");
+        /* Check for the correct currency code from toString()*/
+        harness.check(currency.toString(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.toString() + ").");
+      }
+    else
+      {
+          /* Check for the correct currency code */
+          harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                        currency.getCurrencyCode() + ").");
+          /* Check for the correct currency symbol */
+          harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                        currency.getSymbol() + ").");
+          /* Check for the correct fraction digits */
+          harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                        currency.getDefaultFractionDigits() + ").");
+          /* Check for the correct currency code from toString()*/
+          harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check ("
+                        + currency.toString() + ").");
+      }
+  }
+
+}
Index: gnu/testlet/java/util/Currency/Italy.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Italy.java
diff -N gnu/testlet/java/util/Currency/Italy.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Italy.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,95 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Calendar;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Italian currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Italy implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.ITALY;
+  private static final String ISO4217_CODE = "ITL";
+  private static final String CURRENCY_SYMBOL = "L.";
+  private static final int FRACTION_DIGITS = 0;
+  private static final String EURO_ISO4217_CODE = "EUR";
+  private static final String EURO_CURRENCY_SYMBOL = "\u20AC";
+  private static final int EURO_FRACTION_DIGITS = 2;
+  private static final int EURO_CHANGE_YEAR = 2002;
+  private static final int EURO_CHANGE_MONTH = 0;
+  private static final int EURO_CHANGE_DATE = 1;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+    Calendar calendar;
+    Calendar euroCalendar;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Get the current time in the locale */
+    calendar = Calendar.getInstance(TEST_LOCALE);
+    /* Get the Euro change-over time in the locale */
+    euroCalendar = Calendar.getInstance(TEST_LOCALE);
+    euroCalendar.set(EURO_CHANGE_YEAR, EURO_CHANGE_MONTH, EURO_CHANGE_DATE);
+    /* Do different comparisons depending on the state of change to the Euro */
+    if (calendar.after(euroCalendar))
+      {
+        /* Check for the correct currency code */
+        harness.check(currency.getCurrencyCode(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.getCurrencyCode() + ").");
+        /* Check for the correct currency symbol */
+        harness.check(currency.getSymbol(), EURO_CURRENCY_SYMBOL, "Euro currency symbol retrieval check (" +
+                      currency.getSymbol() + ").");
+        /* Check for the correct fraction digits */
+        harness.check(currency.getDefaultFractionDigits(), EURO_FRACTION_DIGITS,
+                      "Euro currency fraction digits retrieval check (" + currency.getDefaultFractionDigits() + ").");
+        /* Check for the correct currency code from toString()*/
+        harness.check(currency.toString(),EURO_ISO4217_CODE, "Euro ISO 4217 currency code retrieval check (" +
+                      currency.toString() + ").");
+      }
+    else
+      {
+          /* Check for the correct currency code */
+          harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                        currency.getCurrencyCode() + ").");
+          /* Check for the correct currency symbol */
+          harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                        currency.getSymbol() + ").");
+          /* Check for the correct fraction digits */
+          harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                        currency.getDefaultFractionDigits() + ").");
+          /* Check for the correct currency code from toString()*/
+          harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check ("
+                        + currency.toString() + ").");
+      }
+  }
+
+}
Index: gnu/testlet/java/util/Currency/Japan.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Japan.java
diff -N gnu/testlet/java/util/Currency/Japan.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Japan.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Japanese currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Japan implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.JAPAN;
+  private static final String ISO4217_CODE = "JPY";
+  private static final String CURRENCY_SYMBOL = "\uFFE5";
+  private static final int FRACTION_DIGITS = 0;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/Korea.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Korea.java
diff -N gnu/testlet/java/util/Currency/Korea.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Korea.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Korean currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Korea implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.KOREA;
+  private static final String ISO4217_CODE = "KRW";
+  private static final String CURRENCY_SYMBOL = "\uFFE6";
+  private static final int FRACTION_DIGITS = 0;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/PRC.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/PRC.java
diff -N gnu/testlet/java/util/Currency/PRC.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/PRC.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the PRC currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class PRC implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.PRC;
+  private static final String ISO4217_CODE = "CNY";
+  private static final String CURRENCY_SYMBOL = "\uFFE5";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/ReferenceEquality.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/ReferenceEquality.java
diff -N gnu/testlet/java/util/Currency/ReferenceEquality.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/ReferenceEquality.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,59 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the reference equality of currencies.  The
+ * currency class is a Singleton, so each instance for a particular
+ * currency should have the same reference.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class ReferenceEquality implements Testlet
+{
+
+  private static final String UK_CURRENCY_CODE = "GBP";
+
+  public void test(TestHarness harness)
+  {
+    Currency currency1;
+    Currency currency2;
+    boolean threwException;
+
+    /* Get a UK Currency instance */
+    currency1 = Currency.getInstance(Locale.UK);
+    /* And another */
+    currency2 = Currency.getInstance(Locale.UK);
+    /* Now check their equality */
+    harness.check(currency1 == currency2, "Reference equality for currencies (UK) check.");
+    /* Recreate currency2 using the string code instead */
+    currency2 = Currency.getInstance(UK_CURRENCY_CODE);
+    /* Equality should still hold */
+    harness.check(currency1 == currency2);
+
+  }
+}
Index: gnu/testlet/java/util/Currency/Taiwan.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/Taiwan.java
diff -N gnu/testlet/java/util/Currency/Taiwan.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/Taiwan.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the Taiwanese currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class Taiwan implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.TAIWAN;
+  private static final String ISO4217_CODE = "TWD";
+  private static final String CURRENCY_SYMBOL = "NT$";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/UK.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/UK.java
diff -N gnu/testlet/java/util/Currency/UK.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/UK.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,61 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the UK currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class UK implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.UK;
+  private static final String ISO4217_CODE = "GBP";
+  private static final String CURRENCY_SYMBOL = "\u00A3";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the UK currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol */
+    harness.check(currency.getSymbol(), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol() + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + currency.toString() + ").");
+  }
+
+}
Index: gnu/testlet/java/util/Currency/US.java
===================================================================
RCS file: gnu/testlet/java/util/Currency/US.java
diff -N gnu/testlet/java/util/Currency/US.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gnu/testlet/java/util/Currency/US.java	17 Oct 2004 20:21:12 -0000
@@ -0,0 +1,66 @@
+// Tags: JDK1.4
+
+// Copyright (C) 2004 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+// This file is part of Mauve.
+
+// Mauve is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// Mauve is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Mauve; see the file COPYING.  If not, write to
+// the Free Software Foundation, 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
+
+package gnu.testlet.java.util.Currency;
+
+import gnu.testlet.Testlet;
+import gnu.testlet.TestHarness;
+import java.util.Currency;
+import java.util.Locale;
+
+/**
+ * Class to test the American currency.
+ *
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
+ */
+public class US implements Testlet
+{
+
+  private static final Locale TEST_LOCALE = Locale.US;
+  private static final String ISO4217_CODE = "USD";
+  private static final String CURRENCY_SYMBOL = "$";
+  private static final String NON_LOCAL_CURRENCY_SYMBOL = "US$";
+  private static final int FRACTION_DIGITS = 2;
+
+  public void test(TestHarness harness)
+  {
+    Currency currency;
+
+    /* Get an instance of the UK currency */
+    currency = Currency.getInstance(TEST_LOCALE);
+    /* Check for the correct currency code */
+    harness.check(currency.getCurrencyCode(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" + 
+                  currency.getCurrencyCode() + ").");
+    /* Check for the correct currency symbol from within the U.S. */
+    harness.check(currency.getSymbol(Locale.US), CURRENCY_SYMBOL, "Currency symbol retrieval check (" +
+                  currency.getSymbol(Locale.US) + ").");
+    /* Check for the correct currency symbol using another locale */
+    harness.check(currency.getSymbol(Locale.CANADA), NON_LOCAL_CURRENCY_SYMBOL, "Non local currency symbol retrieval check (" +
+                  currency.getSymbol(Locale.CANADA) + ").");
+    /* Check for the correct fraction digits */
+    harness.check(currency.getDefaultFractionDigits(), FRACTION_DIGITS, "Currency fraction digits retrieval check (" +
+                  currency.getDefaultFractionDigits() + ").");
+    /* Check for the correct currency code from toString()*/
+    harness.check(currency.toString(),ISO4217_CODE, "ISO 4217 currency code retrieval check (" +
+                  currency.toString() + ").");
+  }
+
+}

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]