< prev index next >

test/jdk/java/util/Currency/ValidateISO4217.java

Print this page




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 /*
  24  * @test
  25  * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
  26  *      8039317 8074350 8074351 8145952 8187946 8193552 8202026 8204269

  27  * @summary Validate ISO 4217 data for Currency class.
  28  * @modules java.base/java.util:open
  29  *          jdk.localedata
  30  */
  31 
  32 /*
  33  * ############################################################################
  34  *
  35  *  ValidateISO4217 is a tool to detect differences between the latest ISO 4217
  36  *  data and and Java's currency data which is based on ISO 4217.
  37  *  If there is a difference, the following file which includes currency data
  38  *  may need to be updated.
  39  *      src/share/classes/java/util/CurrencyData.properties
  40  *
  41  * ############################################################################
  42  *
  43  * 1) Make a golden-data file.
  44  *      From BSi's ISO4217 data (TABLE A1.doc), extract four (or eight, if currency is changing)
  45  *      fields and save as ./tablea1.txt.
  46  *        <Country code>\t<Currency code>\t<Numeric code>\t<Minor unit>[\t<Cutover Date>\t<new Currency code>\t<new Numeric code>\t<new Minor unit>]




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 /*
  24  * @test
  25  * @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
  26  *      8039317 8074350 8074351 8145952 8187946 8193552 8202026 8204269
  27  *      8208746 8209775
  28  * @summary Validate ISO 4217 data for Currency class.
  29  * @modules java.base/java.util:open
  30  *          jdk.localedata
  31  */
  32 
  33 /*
  34  * ############################################################################
  35  *
  36  *  ValidateISO4217 is a tool to detect differences between the latest ISO 4217
  37  *  data and and Java's currency data which is based on ISO 4217.
  38  *  If there is a difference, the following file which includes currency data
  39  *  may need to be updated.
  40  *      src/share/classes/java/util/CurrencyData.properties
  41  *
  42  * ############################################################################
  43  *
  44  * 1) Make a golden-data file.
  45  *      From BSi's ISO4217 data (TABLE A1.doc), extract four (or eight, if currency is changing)
  46  *      fields and save as ./tablea1.txt.
  47  *        <Country code>\t<Currency code>\t<Numeric code>\t<Minor unit>[\t<Cutover Date>\t<new Currency code>\t<new Numeric code>\t<new Minor unit>]


< prev index next >