mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8305113: (tz) Update Timezone Data to 2023c
Reviewed-by: naoto, andrew, serb
This commit is contained in:
parent
15fa78e6e7
commit
ed9592c6e8
18 changed files with 302 additions and 139 deletions
|
@ -617,6 +617,17 @@ public final class ZoneInfoFile {
|
|||
params[8] = endRule.secondOfDay * 1000;
|
||||
params[9] = toSTZTime[endRule.timeDefinition];
|
||||
dstSavings = (startRule.offsetAfter - startRule.offsetBefore) * 1000;
|
||||
|
||||
// Note: known mismatching -> Africa/Cairo
|
||||
// ZoneInfo : startDayOfWeek=5 <= Thursday
|
||||
// startTime=86400000 <= 24:00
|
||||
// This: startDayOfWeek=6 <= Friday
|
||||
// startTime=0 <= 0:00
|
||||
if (zoneId.equals("Africa/Cairo") &&
|
||||
params[7] == Calendar.FRIDAY && params[8] == 0) {
|
||||
params[7] = Calendar.THURSDAY;
|
||||
params[8] = SECONDS_PER_DAY * 1000;
|
||||
}
|
||||
} else if (nTrans > 0) { // only do this if there is something in table already
|
||||
if (lastyear < LASTYEAR) {
|
||||
// ZoneInfo has an ending entry for 2037
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue