Skip to content

Commit ef71249

Browse files
authored
Merge pull request #953 from focus-shift/952-target2-securities
Fix target 2 securities hierarchy name
2 parents 973d720 + f115616 commit ef71249

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

jollyday-core/src/main/java/de/focus_shift/jollyday/core/HolidayCalendar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public enum HolidayCalendar {
2828
PANAMA("PA"), PARAGUAY("PY"), PERU("PE"), POLAND("PL"), PORTUGAL("PT"),
2929
ROMANIA("RO"), RUSSIA("RU"),
3030
SAN_MARINO("SM"), SAUDI_ARABIA("SA"), SERBIA("RS"), SINGAPORE("SG"), SLOWAKIA("SK"), SLOWENIA("SI"), SOUTH_AFRICA("ZA"), SPAIN("ES"), SWEDEN("SE"), SWITZERLAND("CH"),
31-
TARGET("TARGET"), TARGET2_SECURITIES("TARGET_2_SECURITIES"), TURKEY("TR"),
31+
TARGET("TARGET"), TARGET2_SECURITIES("TARGET2_SECURITIES"), TURKEY("TR"),
3232
UKRAINE("UA"), UNITED_ARAB_EMIRATES("AE"), UNITED_KINGDOM(Locale.UK.getCountry()), UNITED_STATES(Locale.US.getCountry()), URUGUAY("UY"),
3333
VENEZUELA("VE");
3434

jollyday-core/src/main/resources/holidays/Holidays_target_2_securities.xml renamed to jollyday-core/src/main/resources/holidays/Holidays_target2_securities.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<Configuration hierarchy="target" description="TARGET2-Securities (T2S)"
3+
<Configuration hierarchy="target2-securities" description="TARGET2-Securities (T2S)"
44
xmlns="https://focus_shift.de/jollyday/schema/holiday"
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xsi:schemaLocation="https://focus_shift.de/jollyday/schema/holiday https://focus_shift.de/jollyday/schema/holiday/holiday.xsd">

jollyday-core/src/test/java/de/focus_shift/jollyday/core/HolidayCalendarTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class HolidayCalendarTest {
1313

14-
private static final List<String> noneIso3166Countries = List.of("DJ_STOXX", "LME", "NYSE", "NYSE_EURONEXT", "TARGET", "TARGET_2_SECURITIES", "XK");
14+
private static final List<String> noneIso3166Countries = List.of("DJ_STOXX", "LME", "NYSE", "NYSE_EURONEXT", "TARGET", "TARGET2_SECURITIES", "XK");
1515

1616
@Test
1717
void ensureThatAllCountryAreISO3166Conform() {

jollyday-tests/src/test/java/de/focus_shift/jollyday/tests/SubdivisionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class SubdivisionsTest {
1919

20-
private static final List<String> noneIso3166Countries = List.of("DJ_STOXX", "LME", "NYSE", "NYSE_EURONEXT", "TARGET", "TARGET_2_SECURITIES", "XK", "FR", "MC");
20+
private static final List<String> noneIso3166Countries = List.of("DJ_STOXX", "LME", "NYSE", "NYSE_EURONEXT", "TARGET", "TARGET2_SECURITIES", "XK", "FR", "MC");
2121
private static final List<String> okSubdivisions = List.of("FI-01", "ES-RI", "IN-DH", "IN-OD", "IN-UK", "IN-CG", "IN-LA", "IN-TS", "SM-03", "SM-04", "SM-05", "SM-06", "SM-08");
2222

2323
@Test

0 commit comments

Comments
 (0)