mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8224560: (tz) Upgrade time-zone data to tzdata2019a
8225580: tzdata2018i integration causes test failures on jdk-13 Reviewed-by: andrew, naoto
This commit is contained in:
parent
ff3eeb4773
commit
475cf213d9
36 changed files with 1598 additions and 368 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -573,8 +573,12 @@ public final class ZoneInfoFile {
|
|||
// we can then pass in the dom = -1, dow > 0 into ZoneInfo
|
||||
//
|
||||
// hacking, assume the >=24 is the result of ZRB optimization for
|
||||
// "last", it works for now.
|
||||
if (dom < 0 || dom >= 24) {
|
||||
// "last", it works for now. From tzdata2019a this hacking
|
||||
// will not work for Asia/Gaza and Asia/Hebron which follow
|
||||
// Palestine DST rules.
|
||||
if (dom < 0 || dom >= 24 &&
|
||||
!(zoneId.equals("Asia/Gaza") ||
|
||||
zoneId.equals("Asia/Hebron"))) {
|
||||
params[1] = -1;
|
||||
params[2] = toCalendarDOW[dow];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue