From f901134e83fe087737066188ced5cd6a38334f76 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 24 Aug 2024 11:17:51 +0100 Subject: [PATCH] Change currency for ZW to ZWG (#142) --- src/changes/changes.xml | 13 +++++++++++-- src/main/resources/org/joda/money/CountryData.csv | 2 +- src/main/resources/org/joda/money/CurrencyData.csv | 3 ++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 0a64c36..bfd7149 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -8,6 +8,15 @@ + + + Change currency for ZW from ZWL to ZWG. (ISO 4217 Amendment 177) + + + Return 'XXX' as the currency symbol for 'XXX' on Java 21. + The data in Java was altered to use ¤ but it is more consistent for Joda-Money to continue using 'XXX'. + + Add isGreaterThanOrEqual() and isLessThanOrEqual() to money classes. @@ -20,7 +29,7 @@ - Change currency HRK to EUR. + Change currency HRK to EUR. (ISO 4217 Amendment 174) Note that the official switch from HRK to EUR occurs on 2023-01-01. You may want to delay updating this dependency until then. @@ -33,7 +42,7 @@ - Change currency SLL to SLE. + Change currency SLL to SLE. (ISO 4217 Amendment 171) Add Tidelift commercial support and security policy. diff --git a/src/main/resources/org/joda/money/CountryData.csv b/src/main/resources/org/joda/money/CountryData.csv index 064b58d..21295d6 100644 --- a/src/main/resources/org/joda/money/CountryData.csv +++ b/src/main/resources/org/joda/money/CountryData.csv @@ -249,7 +249,7 @@ YE,YER YT,EUR ZA,ZAR ZM,ZMW -ZW,ZWL +ZW,ZWG # Exceptional, only including EU # AC,SHP diff --git a/src/main/resources/org/joda/money/CurrencyData.csv b/src/main/resources/org/joda/money/CurrencyData.csv index 2200dee..0628449 100644 --- a/src/main/resources/org/joda/money/CurrencyData.csv +++ b/src/main/resources/org/joda/money/CurrencyData.csv @@ -207,4 +207,5 @@ XXX,999,-1 YER,886,2 ZAR,710,2 ZMW,967,2 -ZWL,932,2 +ZWG,924,2 +ZWL,932,2 # Old, now ZWG