mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8275766: (tz) Update Timezone Data to 2021e
8275849: TestZoneInfo310.java fails with tzdata2021e Reviewed-by: naoto, iris, erikj, coffeys
This commit is contained in:
parent
8630f55ed7
commit
5b4e39863d
6 changed files with 46 additions and 23 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue