7195759: ISO 4217 Amendment 154
Reviewed-by: naoto
This commit is contained in:
parent
faaa074af7
commit
06be28ce8d
@ -28,7 +28,7 @@ formatVersion=1
|
||||
# Version of the currency code information in this class.
|
||||
# It is a serial number that accompanies with each amendment.
|
||||
|
||||
dataVersion=153
|
||||
dataVersion=154
|
||||
|
||||
# List of all valid ISO 4217 currency codes.
|
||||
# To ensure compatibility, do not remove codes.
|
||||
@ -52,7 +52,8 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036
|
||||
TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-\
|
||||
UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
|
||||
XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-\
|
||||
XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZWD716-ZWL932-ZWN942-ZWR935
|
||||
XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZMW967-ZWD716-ZWL932-\
|
||||
ZWN942-ZWR935
|
||||
|
||||
|
||||
# Mappings from ISO 3166 country codes to ISO 4217 currency codes.
|
||||
@ -573,7 +574,7 @@ EH=MAD
|
||||
# YEMEN
|
||||
YE=YER
|
||||
# ZAMBIA
|
||||
ZM=ZMK
|
||||
ZM=ZMW
|
||||
# ZIMBABWE
|
||||
ZW=ZWL
|
||||
|
||||
|
@ -473,7 +473,7 @@ class LocaleISOData {
|
||||
+ "YE" + "YEM" // Yemen
|
||||
+ "YT" + "MYT" // Mayotte
|
||||
+ "ZA" + "ZAF" // South Africa, Republic of
|
||||
+ "ZM" + "ZMB" // Zambia, Republic of
|
||||
+ "ZM" + "ZMW" // Zambia, Republic of
|
||||
+ "ZW" + "ZWE" // Zimbabwe
|
||||
;
|
||||
|
||||
|
@ -278,6 +278,7 @@ YER=YER
|
||||
YUM=YUM
|
||||
ZAR=ZAR
|
||||
ZMK=ZMK
|
||||
ZMW=ZMW
|
||||
ZWD=ZWD
|
||||
ZWL=ZWL
|
||||
ZWN=ZWN
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -22,7 +22,7 @@
|
||||
*/
|
||||
/*
|
||||
* @test
|
||||
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203
|
||||
* @bug 4691089 4819436 4942982 5104960 6544471 6627549 7066203 7195759
|
||||
* @summary Validate ISO 4217 data for Currency class.
|
||||
*/
|
||||
|
||||
@ -92,7 +92,7 @@ public class ValidateISO4217 {
|
||||
|
||||
/* Codes that are obsolete, do not have related country */
|
||||
static final String otherCodes =
|
||||
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZWD-ZWN-ZWR";
|
||||
"ADP-AFA-ATS-AYM-AZM-BEF-BGL-BOV-BYB-CLF-CUC-CYP-DEM-EEK-ESP-FIM-FRF-GHC-GRD-GWP-IEP-ITL-LUF-MGF-MTL-MXV-MZM-NLG-PTE-ROL-RUR-SDD-SIT-SKK-SRG-TMM-TPE-TRL-VEF-USN-USS-VEB-XAG-XAU-XBA-XBB-XBC-XBD-XDR-XFO-XFU-XPD-XPT-XSU-XTS-XUA-XXX-YUM-ZMK-ZWD-ZWN-ZWR";
|
||||
|
||||
static boolean err = false;
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
#
|
||||
#
|
||||
# Amendments up until ISO 4217 AMENDMENT NUMBER 153
|
||||
# (As of 12 January 2012)
|
||||
# Amendments up until ISO 4217 AMENDMENT NUMBER 154
|
||||
# (As of 31 August 2012)
|
||||
#
|
||||
|
||||
# Version
|
||||
FILEVERSION=1
|
||||
DATAVERSION=153
|
||||
DATAVERSION=154
|
||||
|
||||
# ISO 4217 currency data
|
||||
AF AFN 971 2
|
||||
@ -274,7 +274,7 @@ VI USD 840 2
|
||||
WF XPF 953 0
|
||||
EH MAD 504 2
|
||||
YE YER 886 2
|
||||
ZM ZMK 894 2
|
||||
ZM ZMW 967 2
|
||||
ZW ZWL 932 2
|
||||
#XAU XAU 959
|
||||
#XBA XBA 955
|
||||
|
@ -7074,3 +7074,6 @@ FormatData/sl/DatePatterns/1=dd. MMMM y
|
||||
|
||||
# bug 7189611
|
||||
CurrencyNames/es_VE/VEF=Bs.F.
|
||||
|
||||
# bug 7195759
|
||||
CurrencyNames//ZMW=ZMW
|
||||
|
@ -34,7 +34,7 @@
|
||||
* 6509039 6609737 6610748 6645271 6507067 6873931 6450945 6645268 6646611
|
||||
* 6645405 6650730 6910489 6573250 6870908 6585666 6716626 6914413 6916787
|
||||
* 6919624 6998391 7019267 7020960 7025837 7020583 7036905 7066203 7101495
|
||||
* 7003124 7085757 7028073 7171028 7189611
|
||||
* 7003124 7085757 7028073 7171028 7189611 7195759
|
||||
* @summary Verify locale data
|
||||
*
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user