8275766: (tz) Update Timezone Data to 2021e

8275849: TestZoneInfo310.java fails with tzdata2021e

Reviewed-by: naoto, iris, erikj, coffeys
This commit is contained in:
Yoshiki Sato 2021-11-02 13:02:51 +00:00 committed by Sean Coffey
parent 8630f55ed7
commit 5b4e39863d
6 changed files with 46 additions and 23 deletions

View file

@ -605,9 +605,8 @@ public final class ZoneInfoFile {
params[7] = 0;
} else {
// hacking: see comment above
if (dom < 0 || dom >= 24 &&
!(zoneId.equals("Asia/Gaza") ||
zoneId.equals("Asia/Hebron"))) {
// No need of hacking for Asia/Gaza and Asia/Hebron from tz2021e
if (dom < 0 || dom >= 24) {
params[6] = -1;
params[7] = toCalendarDOW[dow];
} else {