Blame SOURCES/jdk8294357-tzdata2022d.patch

9c0620
commit 8589b1229cffb9a0ab00baf62ce2d4376d31b055
9c0620
Author: Andrew John Hughes <andrew@openjdk.org>
9c0620
Date:   Fri Oct 14 22:55:39 2022 +0100
9c0620
9c0620
    Backport f67b4de8a07b8158be1dfb5b09cdb4cc5b7ac93b
9c0620
9c0620
diff --git a/jdk/make/data/tzdata/VERSION b/jdk/make/data/tzdata/VERSION
9c0620
index decb8716b22..889d0e6dad7 100644
9c0620
--- a/jdk/make/data/tzdata/VERSION
9c0620
+++ b/jdk/make/data/tzdata/VERSION
9c0620
@@ -21,4 +21,4 @@
9c0620
 # or visit www.oracle.com if you need additional information or have any
9c0620
 # questions.
9c0620
 #
9c0620
-tzdata2022c
9c0620
+tzdata2022d
9c0620
diff --git a/jdk/make/data/tzdata/asia b/jdk/make/data/tzdata/asia
9c0620
index 6cb6d2c57cf..1dc7d34f88e 100644
9c0620
--- a/jdk/make/data/tzdata/asia
9c0620
+++ b/jdk/make/data/tzdata/asia
9c0620
@@ -3398,10 +3398,6 @@ Zone	Asia/Karachi	4:28:12 -	LMT	1907
9c0620
 # The winter time in 2015 started on October 23 at 01:00.
9c0620
 # https://wafa.ps/ar_page.aspx?id=CgpCdYa670694628582aCgpCdY
9c0620
 # http://www.palestinecabinet.gov.ps/portal/meeting/details/27583
9c0620
-#
9c0620
-# From Paul Eggert (2019-04-10):
9c0620
-# For now, guess spring-ahead transitions are at 00:00 on the Saturday
9c0620
-# preceding March's last Sunday (i.e., Sat>=24).
9c0620
 
9c0620
 # From P Chan (2021-10-18):
9c0620
 # http://wafa.ps/Pages/Details/34701
9c0620
@@ -3418,6 +3414,18 @@ Zone	Asia/Karachi	4:28:12 -	LMT	1907
9c0620
 # From Heba Hamad (2022-03-10):
9c0620
 # summer time will begin in Palestine from Sunday 03-27-2022, 00:00 AM.
9c0620
 
9c0620
+# From Heba Hamad (2022-08-30):
9c0620
+# winter time will begin in Palestine from Saturday 10-29, 02:00 AM by
9c0620
+# 60 minutes backwards.  Also the state of Palestine adopted the summer
9c0620
+# and winter time for the years: 2023,2024,2025,2026 ...
9c0620
+# https://mm.icann.org/pipermail/tz/attachments/20220830/9f024566/Time-0001.pdf
9c0620
+# (2022-08-31): ... the Saturday before the last Sunday in March and October
9c0620
+# at 2:00 AM ,for the years from 2023 to 2026.
9c0620
+# (2022-09-05): https://mtit.pna.ps/Site/New/1453
9c0620
+#
9c0620
+# From Paul Eggert (2022-08-31):
9c0620
+# For now, assume that this rule will also be used after 2026.
9c0620
+
9c0620
 # Rule	NAME	FROM	TO	-	IN	ON	AT	SAVE	LETTER/S
9c0620
 Rule EgyptAsia	1957	only	-	May	10	0:00	1:00	S
9c0620
 Rule EgyptAsia	1957	1958	-	Oct	 1	0:00	0	-
9c0620
@@ -3448,14 +3456,16 @@ Rule Palestine	2013	only	-	Sep	27	0:00	0	-
9c0620
 Rule Palestine	2014	only	-	Oct	24	0:00	0	-
9c0620
 Rule Palestine	2015	only	-	Mar	28	0:00	1:00	S
9c0620
 Rule Palestine	2015	only	-	Oct	23	1:00	0	-
9c0620
-Rule Palestine	2016	2018	-	Mar	Sat>=24	1:00	1:00	S
9c0620
-Rule Palestine	2016	2018	-	Oct	Sat>=24	1:00	0	-
9c0620
+Rule Palestine	2016	2018	-	Mar	Sat<=30	1:00	1:00	S
9c0620
+Rule Palestine	2016	2018	-	Oct	Sat<=30	1:00	0	-
9c0620
 Rule Palestine	2019	only	-	Mar	29	0:00	1:00	S
9c0620
-Rule Palestine	2019	only	-	Oct	Sat>=24	0:00	0	-
9c0620
-Rule Palestine	2020	2021	-	Mar	Sat>=24	0:00	1:00	S
9c0620
+Rule Palestine	2019	only	-	Oct	Sat<=30	0:00	0	-
9c0620
+Rule Palestine	2020	2021	-	Mar	Sat<=30	0:00	1:00	S
9c0620
 Rule Palestine	2020	only	-	Oct	24	1:00	0	-
9c0620
-Rule Palestine	2021	max	-	Oct	Fri>=23	1:00	0	-
9c0620
-Rule Palestine	2022	max	-	Mar	Sun>=25	0:00	1:00	S
9c0620
+Rule Palestine	2021	only	-	Oct	29	1:00	0	-
9c0620
+Rule Palestine	2022	only	-	Mar	27	0:00	1:00	S
9c0620
+Rule Palestine	2022	max	-	Oct	Sat<=30	2:00	0	-
9c0620
+Rule Palestine	2023	max	-	Mar	Sat<=30	2:00	1:00	S
9c0620
 
9c0620
 # Zone	NAME		STDOFF	RULES	FORMAT	[UNTIL]
9c0620
 Zone	Asia/Gaza	2:17:52	-	LMT	1900 Oct
9c0620
diff --git a/jdk/make/data/tzdata/backward b/jdk/make/data/tzdata/backward
9c0620
index d4a29e8cf29..7765d99aedf 100644
9c0620
--- a/jdk/make/data/tzdata/backward
9c0620
+++ b/jdk/make/data/tzdata/backward
9c0620
@@ -113,6 +113,8 @@ Link	Etc/UTC			Etc/UCT
9c0620
 Link	Europe/London		Europe/Belfast
9c0620
 Link	Europe/Kyiv		Europe/Kiev
9c0620
 Link	Europe/Chisinau		Europe/Tiraspol
9c0620
+Link	Europe/Kyiv		Europe/Uzhgorod
9c0620
+Link	Europe/Kyiv		Europe/Zaporozhye
9c0620
 Link	Europe/London		GB
9c0620
 Link	Europe/London		GB-Eire
9c0620
 Link	Etc/GMT			GMT+0
9c0620
diff --git a/jdk/make/data/tzdata/europe b/jdk/make/data/tzdata/europe
9c0620
index f7eb7a387aa..9e0a538f86d 100644
9c0620
--- a/jdk/make/data/tzdata/europe
9c0620
+++ b/jdk/make/data/tzdata/europe
9c0620
@@ -2638,10 +2638,14 @@ Zone Europe/Simferopol	 2:16:24 -	LMT	1880
9c0620
 # From Alexander Krivenyshev (2014-03-17):
9c0620
 # time change at 2:00 (2am) on March 30, 2014
9c0620
 # https://vz.ru/news/2014/3/17/677464.html
9c0620
-# From Paul Eggert (2014-03-30):
9c0620
-# Simferopol and Sevastopol reportedly changed their central town clocks
9c0620
-# late the previous day, but this appears to have been ceremonial
9c0620
-# and the discrepancies are small enough to not worry about.
9c0620
+# From Tim Parenti (2022-07-01), per Paul Eggert (2014-03-30):
9c0620
+# The clocks at the railway station in Simferopol were put forward from 22:00
9c0620
+# to 24:00 the previous day in a "symbolic ceremony"; however, per
9c0620
+# contemporaneous news reports, "ordinary Crimeans [made] the daylight savings
9c0620
+# time switch at 2am" on Sunday.
9c0620
+# https://www.business-standard.com/article/pti-stories/crimea-to-set-clocks-to-russia-time-114033000014_1.html
9c0620
+# https://www.reuters.com/article/us-ukraine-crisis-crimea-time/crimea-switches-to-moscow-time-amid-incorporation-frenzy-idUKBREA2S0LT20140329
9c0620
+# https://www.bbc.com/news/av/world-europe-26806583
9c0620
 			 2:00	EU	EE%sT	2014 Mar 30  2:00
9c0620
 			 4:00	-	MSK	2014 Oct 26  2:00s
9c0620
 			 3:00	-	MSK
9c0620
@@ -3774,8 +3778,8 @@ Link	Europe/Istanbul	Asia/Istanbul	# Istanbul is in both continents.
9c0620
 # US colleague David Cochrane) are still trying to get more
9c0620
 # information upon these local deviations from Kiev rules.
9c0620
 #
9c0620
-# From Paul Eggert (2022-02-08):
9c0620
-# For now, assume that Ukraine's other three zones followed the same rules,
9c0620
+# From Paul Eggert (2022-08-27):
9c0620
+# For now, assume that Ukraine's zones all followed the same rules,
9c0620
 # except that Crimea switched to Moscow time in 1994 as described elsewhere.
9c0620
 
9c0620
 # From Igor Karpov, who works for the Ukrainian Ministry of Justice,
9c0620
@@ -3845,21 +3849,7 @@ Link	Europe/Istanbul	Asia/Istanbul	# Istanbul is in both continents.
9c0620
 # * Ukrainian Government's Resolution of 20.03.1992, No. 139.
9c0620
 # http://www.uazakon.com/documents/date_8u/pg_grcasa.htm
9c0620
 
9c0620
-# From Paul Eggert (2022-04-12):
9c0620
-# As is usual in tzdb, Ukrainian zones use the most common English spellings.
9c0620
-# In particular, tzdb's name Europe/Kyiv uses the most common spelling in
9c0620
-# English for Ukraine's capital.  Although tzdb's former name was Europe/Kiev,
9c0620
-# "Kyiv" is now more common due to widespread reporting of the current conflict.
9c0620
-# Conversely, tzdb continues to use the names Europe/Uzhgorod and
9c0620
-# Europe/Zaporozhye; this is similar to tzdb's use of Europe/Prague, which is
9c0620
-# certainly wrong as a transliteration of the Czech "Praha".
9c0620
-# English-language spelling of Ukrainian names is in flux, and
9c0620
-# some day "Uzhhorod" or "Zaporizhzhia" may become substantially more
9c0620
-# common in English; in the meantime, do not change these
9c0620
-# English spellings as that means less disruption for our users.
9c0620
-
9c0620
 # Zone	NAME		STDOFF	RULES	FORMAT	[UNTIL]
9c0620
-# This represents most of Ukraine.  See above for the spelling of "Kyiv".
9c0620
 Zone Europe/Kyiv	2:02:04 -	LMT	1880
9c0620
 			2:02:04	-	KMT	1924 May  2 # Kyiv Mean Time
9c0620
 			2:00	-	EET	1930 Jun 21
9c0620
@@ -3869,34 +3859,6 @@ Zone Europe/Kyiv	2:02:04 -	LMT	1880
9c0620
 			2:00	1:00	EEST	1991 Sep 29  3:00
9c0620
 			2:00	C-Eur	EE%sT	1996 May 13
9c0620
 			2:00	EU	EE%sT
9c0620
-# Transcarpathia used CET 1990/1991.
9c0620
-# "Uzhhorod" is the transliteration of the Rusyn/Ukrainian pronunciation, but
9c0620
-# "Uzhgorod" is more common in English.
9c0620
-Zone Europe/Uzhgorod	1:29:12 -	LMT	1890 Oct
9c0620
-			1:00	-	CET	1940
9c0620
-			1:00	C-Eur	CE%sT	1944 Oct
9c0620
-			1:00	1:00	CEST	1944 Oct 26
9c0620
-			1:00	-	CET	1945 Jun 29
9c0620
-			3:00	Russia	MSK/MSD	1990
9c0620
-			3:00	-	MSK	1990 Jul  1  2:00
9c0620
-			1:00	-	CET	1991 Mar 31  3:00
9c0620
-			2:00	-	EET	1992 Mar 20
9c0620
-			2:00	C-Eur	EE%sT	1996 May 13
9c0620
-			2:00	EU	EE%sT
9c0620
-# Zaporozh'ye and eastern Lugansk oblasts observed DST 1990/1991.
9c0620
-# "Zaporizhzhia" is the transliteration of the Ukrainian name, but
9c0620
-# "Zaporozh'ye" is more common in English.  Use the common English
9c0620
-# spelling, except omit the apostrophe as it is not allowed in
9c0620
-# portable Posix file names.
9c0620
-Zone Europe/Zaporozhye	2:20:40 -	LMT	1880
9c0620
-			2:20	-	+0220	1924 May  2
9c0620
-			2:00	-	EET	1930 Jun 21
9c0620
-			3:00	-	MSK	1941 Aug 25
9c0620
-			1:00	C-Eur	CE%sT	1943 Oct 25
9c0620
-			3:00	Russia	MSK/MSD	1991 Mar 31  2:00
9c0620
-			2:00	E-Eur	EE%sT	1992 Mar 20
9c0620
-			2:00	C-Eur	EE%sT	1996 May 13
9c0620
-			2:00	EU	EE%sT
9c0620
 
9c0620
 # Vatican City
9c0620
 # See Europe/Rome.
9c0620
diff --git a/jdk/make/data/tzdata/southamerica b/jdk/make/data/tzdata/southamerica
9c0620
index 13ec081c7e0..3c0e0e2061c 100644
9c0620
--- a/jdk/make/data/tzdata/southamerica
9c0620
+++ b/jdk/make/data/tzdata/southamerica
9c0620
@@ -1332,8 +1332,14 @@ Zone America/Rio_Branco	-4:31:12 -	LMT	1914
9c0620
 # for America/Santiago will start on midnight of September 11th;
9c0620
 # and will end on April 1st, 2023. Magallanes region (America/Punta_Arenas)
9c0620
 # will keep UTC -3 "indefinitely"...  This is because on September 4th
9c0620
-# we will have a voting whether to approve a new Constitution....
9c0620
-# https://www.interior.gob.cl/noticias/2022/08/09/comunicado-el-proximo-sabado-10-de-septiembre-los-relojes-se-deben-adelantar-una-hora/
9c0620
+# we will have a voting whether to approve a new Constitution.
9c0620
+#
9c0620
+# From Eduardo Romero Urra (2022-08-17):
9c0620
+# https://www.diariooficial.interior.gob.cl/publicaciones/2022/08/13/43327/01/2172567.pdf
9c0620
+#
9c0620
+# From Paul Eggert (2022-08-17):
9c0620
+# Although the presidential decree stops at fall 2026, assume that
9c0620
+# similar DST rules will continue thereafter.
9c0620
 
9c0620
 # Rule	NAME	FROM	TO	-	IN	ON	AT	SAVE	LETTER/S
9c0620
 Rule	Chile	1927	1931	-	Sep	 1	0:00	1:00	-
9c0620
diff --git a/jdk/make/data/tzdata/zone.tab b/jdk/make/data/tzdata/zone.tab
9c0620
index 51b65fa273c..ee025196e50 100644
9c0620
--- a/jdk/make/data/tzdata/zone.tab
9c0620
+++ b/jdk/make/data/tzdata/zone.tab
9c0620
@@ -424,8 +424,6 @@ TV	-0831+17913	Pacific/Funafuti
9c0620
 TW	+2503+12130	Asia/Taipei
9c0620
 TZ	-0648+03917	Africa/Dar_es_Salaam
9c0620
 UA	+5026+03031	Europe/Kyiv	Ukraine (most areas)
9c0620
-UA	+4837+02218	Europe/Uzhgorod	Transcarpathia
9c0620
-UA	+4750+03510	Europe/Zaporozhye	Zaporozhye and east Lugansk
9c0620
 UG	+0019+03225	Africa/Kampala
9c0620
 UM	+2813-17722	Pacific/Midway	Midway Islands
9c0620
 UM	+1917+16637	Pacific/Wake	Wake Island
9c0620
diff --git a/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java b/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
9c0620
index 43bddd5859a..4b84cda3067 100644
9c0620
--- a/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
9c0620
+++ b/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
9c0620
@@ -573,12 +573,8 @@ public final class ZoneInfoFile {
9c0620
                     // we can then pass in the dom = -1, dow > 0 into ZoneInfo
9c0620
                     //
9c0620
                     // hacking, assume the >=24 is the result of ZRB optimization for
9c0620
-                    // "last", it works for now. From tzdata2020d this hacking
9c0620
-                    // will not work for Asia/Gaza and Asia/Hebron which follow
9c0620
-                    // Palestine DST rules.
9c0620
-                    if (dom < 0 || dom >= 24 &&
9c0620
-                                   !(zoneId.equals("Asia/Gaza") ||
9c0620
-                                     zoneId.equals("Asia/Hebron"))) {
9c0620
+                    // "last", it works for now.
9c0620
+                    if (dom < 0 || dom >= 24) {
9c0620
                         params[1] = -1;
9c0620
                         params[2] = toCalendarDOW[dow];
9c0620
                     } else {
9c0620
@@ -600,7 +596,6 @@ public final class ZoneInfoFile {
9c0620
                     params[7] = 0;
9c0620
                 } else {
9c0620
                     // hacking: see comment above
9c0620
-                    // No need of hacking for Asia/Gaza and Asia/Hebron from tz2021e
9c0620
                     if (dom < 0 || dom >= 24) {
9c0620
                         params[6] = -1;
9c0620
                         params[7] = toCalendarDOW[dow];
9c0620
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
9c0620
index c32bee39fba..71470168456 100644
9c0620
--- a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
9c0620
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
9c0620
@@ -1 +1 @@
9c0620
-tzdata2022c
9c0620
+tzdata2022d
9c0620
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt b/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
9c0620
index a5e6428a3f5..e3ce742f887 100644
9c0620
--- a/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
9c0620
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
9c0620
@@ -183,6 +183,8 @@ Link	Etc/UTC			Etc/UCT
9c0620
 Link	Europe/London		Europe/Belfast
9c0620
 Link	Europe/Kyiv		Europe/Kiev
9c0620
 Link	Europe/Chisinau		Europe/Tiraspol
9c0620
+Link	Europe/Kyiv		Europe/Uzhgorod
9c0620
+Link	Europe/Kyiv		Europe/Zaporozhye
9c0620
 Link	Europe/London		GB
9c0620
 Link	Europe/London		GB-Eire
9c0620
 Link	Etc/GMT			GMT+0
9c0620
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
9c0620
index fc148537f1f..b3823958ae4 100644
9c0620
--- a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
9c0620
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
9c0620
@@ -163,11 +163,9 @@ Europe/Simferopol MSK
9c0620
 Europe/Sofia EET EEST
9c0620
 Europe/Tallinn EET EEST
9c0620
 Europe/Tirane CET CEST
9c0620
-Europe/Uzhgorod EET EEST
9c0620
 Europe/Vienna CET CEST
9c0620
 Europe/Vilnius EET EEST
9c0620
 Europe/Warsaw CET CEST
9c0620
-Europe/Zaporozhye EET EEST
9c0620
 Europe/Zurich CET CEST
9c0620
 HST HST
9c0620
 MET MET MEST
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java b/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
9c0620
index 3aad69f8118..c682531d4bd 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
9c0620
+++ b/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
9c0620
@@ -173,10 +173,19 @@ public class TestZoneInfo310 {
9c0620
              * Temporary ignoring the failing TimeZones which are having zone
9c0620
              * rules defined till year 2037 and/or above and have negative DST
9c0620
              * save time in IANA tzdata. This bug is tracked via JDK-8223388.
9c0620
+             *
9c0620
+             * Tehran/Iran rule has rules beyond 2037, in which javazic assumes
9c0620
+             * to be the last year. Thus javazic's rule is based on year 2037
9c0620
+             * (Mar 20th/Sep 20th are the cutover dates), while the real rule
9c0620
+             * has year 2087 where Mar 21st/Sep 21st are the cutover dates.
9c0620
              */
9c0620
-            if (zid.equals("Africa/Casablanca") || zid.equals("Africa/El_Aaiun")
9c0620
-                || zid.equals("Asia/Tehran") || zid.equals("Iran")) {
9c0620
-                continue;
9c0620
+            if (zid.equals("Africa/Casablanca") || // uses "Morocco" rule
9c0620
+                zid.equals("Africa/El_Aaiun") || // uses "Morocco" rule
9c0620
+                zid.equals("Asia/Tehran") || // last rule mismatch
9c0620
+                zid.equals("Asia/Gaza") || // uses "Palestine" rule
9c0620
+                zid.equals("Asia/Hebron") || // uses "Palestine" rule
9c0620
+                zid.equals("Iran")) { // last rule mismatch
9c0620
+                    continue;
9c0620
             }
9c0620
             if (! zi.equalsTo(ziOLD)) {
9c0620
                 System.out.println(zi.diffsTo(ziOLD));
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/VERSION b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
9c0620
index decb8716b22..889d0e6dad7 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/VERSION
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
9c0620
@@ -21,4 +21,4 @@
9c0620
 # or visit www.oracle.com if you need additional information or have any
9c0620
 # questions.
9c0620
 #
9c0620
-tzdata2022c
9c0620
+tzdata2022d
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/asia b/jdk/test/sun/util/calendar/zi/tzdata/asia
9c0620
index 6cb6d2c57cf..1dc7d34f88e 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/asia
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/asia
9c0620
@@ -3398,10 +3398,6 @@ Zone	Asia/Karachi	4:28:12 -	LMT	1907
9c0620
 # The winter time in 2015 started on October 23 at 01:00.
9c0620
 # https://wafa.ps/ar_page.aspx?id=CgpCdYa670694628582aCgpCdY
9c0620
 # http://www.palestinecabinet.gov.ps/portal/meeting/details/27583
9c0620
-#
9c0620
-# From Paul Eggert (2019-04-10):
9c0620
-# For now, guess spring-ahead transitions are at 00:00 on the Saturday
9c0620
-# preceding March's last Sunday (i.e., Sat>=24).
9c0620
 
9c0620
 # From P Chan (2021-10-18):
9c0620
 # http://wafa.ps/Pages/Details/34701
9c0620
@@ -3418,6 +3414,18 @@ Zone	Asia/Karachi	4:28:12 -	LMT	1907
9c0620
 # From Heba Hamad (2022-03-10):
9c0620
 # summer time will begin in Palestine from Sunday 03-27-2022, 00:00 AM.
9c0620
 
9c0620
+# From Heba Hamad (2022-08-30):
9c0620
+# winter time will begin in Palestine from Saturday 10-29, 02:00 AM by
9c0620
+# 60 minutes backwards.  Also the state of Palestine adopted the summer
9c0620
+# and winter time for the years: 2023,2024,2025,2026 ...
9c0620
+# https://mm.icann.org/pipermail/tz/attachments/20220830/9f024566/Time-0001.pdf
9c0620
+# (2022-08-31): ... the Saturday before the last Sunday in March and October
9c0620
+# at 2:00 AM ,for the years from 2023 to 2026.
9c0620
+# (2022-09-05): https://mtit.pna.ps/Site/New/1453
9c0620
+#
9c0620
+# From Paul Eggert (2022-08-31):
9c0620
+# For now, assume that this rule will also be used after 2026.
9c0620
+
9c0620
 # Rule	NAME	FROM	TO	-	IN	ON	AT	SAVE	LETTER/S
9c0620
 Rule EgyptAsia	1957	only	-	May	10	0:00	1:00	S
9c0620
 Rule EgyptAsia	1957	1958	-	Oct	 1	0:00	0	-
9c0620
@@ -3448,14 +3456,16 @@ Rule Palestine	2013	only	-	Sep	27	0:00	0	-
9c0620
 Rule Palestine	2014	only	-	Oct	24	0:00	0	-
9c0620
 Rule Palestine	2015	only	-	Mar	28	0:00	1:00	S
9c0620
 Rule Palestine	2015	only	-	Oct	23	1:00	0	-
9c0620
-Rule Palestine	2016	2018	-	Mar	Sat>=24	1:00	1:00	S
9c0620
-Rule Palestine	2016	2018	-	Oct	Sat>=24	1:00	0	-
9c0620
+Rule Palestine	2016	2018	-	Mar	Sat<=30	1:00	1:00	S
9c0620
+Rule Palestine	2016	2018	-	Oct	Sat<=30	1:00	0	-
9c0620
 Rule Palestine	2019	only	-	Mar	29	0:00	1:00	S
9c0620
-Rule Palestine	2019	only	-	Oct	Sat>=24	0:00	0	-
9c0620
-Rule Palestine	2020	2021	-	Mar	Sat>=24	0:00	1:00	S
9c0620
+Rule Palestine	2019	only	-	Oct	Sat<=30	0:00	0	-
9c0620
+Rule Palestine	2020	2021	-	Mar	Sat<=30	0:00	1:00	S
9c0620
 Rule Palestine	2020	only	-	Oct	24	1:00	0	-
9c0620
-Rule Palestine	2021	max	-	Oct	Fri>=23	1:00	0	-
9c0620
-Rule Palestine	2022	max	-	Mar	Sun>=25	0:00	1:00	S
9c0620
+Rule Palestine	2021	only	-	Oct	29	1:00	0	-
9c0620
+Rule Palestine	2022	only	-	Mar	27	0:00	1:00	S
9c0620
+Rule Palestine	2022	max	-	Oct	Sat<=30	2:00	0	-
9c0620
+Rule Palestine	2023	max	-	Mar	Sat<=30	2:00	1:00	S
9c0620
 
9c0620
 # Zone	NAME		STDOFF	RULES	FORMAT	[UNTIL]
9c0620
 Zone	Asia/Gaza	2:17:52	-	LMT	1900 Oct
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/backward b/jdk/test/sun/util/calendar/zi/tzdata/backward
9c0620
index d4a29e8cf29..7765d99aedf 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/backward
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/backward
9c0620
@@ -113,6 +113,8 @@ Link	Etc/UTC			Etc/UCT
9c0620
 Link	Europe/London		Europe/Belfast
9c0620
 Link	Europe/Kyiv		Europe/Kiev
9c0620
 Link	Europe/Chisinau		Europe/Tiraspol
9c0620
+Link	Europe/Kyiv		Europe/Uzhgorod
9c0620
+Link	Europe/Kyiv		Europe/Zaporozhye
9c0620
 Link	Europe/London		GB
9c0620
 Link	Europe/London		GB-Eire
9c0620
 Link	Etc/GMT			GMT+0
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/europe b/jdk/test/sun/util/calendar/zi/tzdata/europe
9c0620
index f7eb7a387aa..9e0a538f86d 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/europe
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/europe
9c0620
@@ -2638,10 +2638,14 @@ Zone Europe/Simferopol	 2:16:24 -	LMT	1880
9c0620
 # From Alexander Krivenyshev (2014-03-17):
9c0620
 # time change at 2:00 (2am) on March 30, 2014
9c0620
 # https://vz.ru/news/2014/3/17/677464.html
9c0620
-# From Paul Eggert (2014-03-30):
9c0620
-# Simferopol and Sevastopol reportedly changed their central town clocks
9c0620
-# late the previous day, but this appears to have been ceremonial
9c0620
-# and the discrepancies are small enough to not worry about.
9c0620
+# From Tim Parenti (2022-07-01), per Paul Eggert (2014-03-30):
9c0620
+# The clocks at the railway station in Simferopol were put forward from 22:00
9c0620
+# to 24:00 the previous day in a "symbolic ceremony"; however, per
9c0620
+# contemporaneous news reports, "ordinary Crimeans [made] the daylight savings
9c0620
+# time switch at 2am" on Sunday.
9c0620
+# https://www.business-standard.com/article/pti-stories/crimea-to-set-clocks-to-russia-time-114033000014_1.html
9c0620
+# https://www.reuters.com/article/us-ukraine-crisis-crimea-time/crimea-switches-to-moscow-time-amid-incorporation-frenzy-idUKBREA2S0LT20140329
9c0620
+# https://www.bbc.com/news/av/world-europe-26806583
9c0620
 			 2:00	EU	EE%sT	2014 Mar 30  2:00
9c0620
 			 4:00	-	MSK	2014 Oct 26  2:00s
9c0620
 			 3:00	-	MSK
9c0620
@@ -3774,8 +3778,8 @@ Link	Europe/Istanbul	Asia/Istanbul	# Istanbul is in both continents.
9c0620
 # US colleague David Cochrane) are still trying to get more
9c0620
 # information upon these local deviations from Kiev rules.
9c0620
 #
9c0620
-# From Paul Eggert (2022-02-08):
9c0620
-# For now, assume that Ukraine's other three zones followed the same rules,
9c0620
+# From Paul Eggert (2022-08-27):
9c0620
+# For now, assume that Ukraine's zones all followed the same rules,
9c0620
 # except that Crimea switched to Moscow time in 1994 as described elsewhere.
9c0620
 
9c0620
 # From Igor Karpov, who works for the Ukrainian Ministry of Justice,
9c0620
@@ -3845,21 +3849,7 @@ Link	Europe/Istanbul	Asia/Istanbul	# Istanbul is in both continents.
9c0620
 # * Ukrainian Government's Resolution of 20.03.1992, No. 139.
9c0620
 # http://www.uazakon.com/documents/date_8u/pg_grcasa.htm
9c0620
 
9c0620
-# From Paul Eggert (2022-04-12):
9c0620
-# As is usual in tzdb, Ukrainian zones use the most common English spellings.
9c0620
-# In particular, tzdb's name Europe/Kyiv uses the most common spelling in
9c0620
-# English for Ukraine's capital.  Although tzdb's former name was Europe/Kiev,
9c0620
-# "Kyiv" is now more common due to widespread reporting of the current conflict.
9c0620
-# Conversely, tzdb continues to use the names Europe/Uzhgorod and
9c0620
-# Europe/Zaporozhye; this is similar to tzdb's use of Europe/Prague, which is
9c0620
-# certainly wrong as a transliteration of the Czech "Praha".
9c0620
-# English-language spelling of Ukrainian names is in flux, and
9c0620
-# some day "Uzhhorod" or "Zaporizhzhia" may become substantially more
9c0620
-# common in English; in the meantime, do not change these
9c0620
-# English spellings as that means less disruption for our users.
9c0620
-
9c0620
 # Zone	NAME		STDOFF	RULES	FORMAT	[UNTIL]
9c0620
-# This represents most of Ukraine.  See above for the spelling of "Kyiv".
9c0620
 Zone Europe/Kyiv	2:02:04 -	LMT	1880
9c0620
 			2:02:04	-	KMT	1924 May  2 # Kyiv Mean Time
9c0620
 			2:00	-	EET	1930 Jun 21
9c0620
@@ -3869,34 +3859,6 @@ Zone Europe/Kyiv	2:02:04 -	LMT	1880
9c0620
 			2:00	1:00	EEST	1991 Sep 29  3:00
9c0620
 			2:00	C-Eur	EE%sT	1996 May 13
9c0620
 			2:00	EU	EE%sT
9c0620
-# Transcarpathia used CET 1990/1991.
9c0620
-# "Uzhhorod" is the transliteration of the Rusyn/Ukrainian pronunciation, but
9c0620
-# "Uzhgorod" is more common in English.
9c0620
-Zone Europe/Uzhgorod	1:29:12 -	LMT	1890 Oct
9c0620
-			1:00	-	CET	1940
9c0620
-			1:00	C-Eur	CE%sT	1944 Oct
9c0620
-			1:00	1:00	CEST	1944 Oct 26
9c0620
-			1:00	-	CET	1945 Jun 29
9c0620
-			3:00	Russia	MSK/MSD	1990
9c0620
-			3:00	-	MSK	1990 Jul  1  2:00
9c0620
-			1:00	-	CET	1991 Mar 31  3:00
9c0620
-			2:00	-	EET	1992 Mar 20
9c0620
-			2:00	C-Eur	EE%sT	1996 May 13
9c0620
-			2:00	EU	EE%sT
9c0620
-# Zaporozh'ye and eastern Lugansk oblasts observed DST 1990/1991.
9c0620
-# "Zaporizhzhia" is the transliteration of the Ukrainian name, but
9c0620
-# "Zaporozh'ye" is more common in English.  Use the common English
9c0620
-# spelling, except omit the apostrophe as it is not allowed in
9c0620
-# portable Posix file names.
9c0620
-Zone Europe/Zaporozhye	2:20:40 -	LMT	1880
9c0620
-			2:20	-	+0220	1924 May  2
9c0620
-			2:00	-	EET	1930 Jun 21
9c0620
-			3:00	-	MSK	1941 Aug 25
9c0620
-			1:00	C-Eur	CE%sT	1943 Oct 25
9c0620
-			3:00	Russia	MSK/MSD	1991 Mar 31  2:00
9c0620
-			2:00	E-Eur	EE%sT	1992 Mar 20
9c0620
-			2:00	C-Eur	EE%sT	1996 May 13
9c0620
-			2:00	EU	EE%sT
9c0620
 
9c0620
 # Vatican City
9c0620
 # See Europe/Rome.
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/southamerica b/jdk/test/sun/util/calendar/zi/tzdata/southamerica
9c0620
index 13ec081c7e0..3c0e0e2061c 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/southamerica
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/southamerica
9c0620
@@ -1332,8 +1332,14 @@ Zone America/Rio_Branco	-4:31:12 -	LMT	1914
9c0620
 # for America/Santiago will start on midnight of September 11th;
9c0620
 # and will end on April 1st, 2023. Magallanes region (America/Punta_Arenas)
9c0620
 # will keep UTC -3 "indefinitely"...  This is because on September 4th
9c0620
-# we will have a voting whether to approve a new Constitution....
9c0620
-# https://www.interior.gob.cl/noticias/2022/08/09/comunicado-el-proximo-sabado-10-de-septiembre-los-relojes-se-deben-adelantar-una-hora/
9c0620
+# we will have a voting whether to approve a new Constitution.
9c0620
+#
9c0620
+# From Eduardo Romero Urra (2022-08-17):
9c0620
+# https://www.diariooficial.interior.gob.cl/publicaciones/2022/08/13/43327/01/2172567.pdf
9c0620
+#
9c0620
+# From Paul Eggert (2022-08-17):
9c0620
+# Although the presidential decree stops at fall 2026, assume that
9c0620
+# similar DST rules will continue thereafter.
9c0620
 
9c0620
 # Rule	NAME	FROM	TO	-	IN	ON	AT	SAVE	LETTER/S
9c0620
 Rule	Chile	1927	1931	-	Sep	 1	0:00	1:00	-
9c0620
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/zone.tab b/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
9c0620
index 51b65fa273c..ee025196e50 100644
9c0620
--- a/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
9c0620
+++ b/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
9c0620
@@ -424,8 +424,6 @@ TV	-0831+17913	Pacific/Funafuti
9c0620
 TW	+2503+12130	Asia/Taipei
9c0620
 TZ	-0648+03917	Africa/Dar_es_Salaam
9c0620
 UA	+5026+03031	Europe/Kyiv	Ukraine (most areas)
9c0620
-UA	+4837+02218	Europe/Uzhgorod	Transcarpathia
9c0620
-UA	+4750+03510	Europe/Zaporozhye	Zaporozhye and east Lugansk
9c0620
 UG	+0019+03225	Africa/Kampala
9c0620
 UM	+2813-17722	Pacific/Midway	Midway Islands
9c0620
 UM	+1917+16637	Pacific/Wake	Wake Island