TzdbZoneRulesProvider currently parses tzdata rules with the assumption that the shortened Day or Month values will be used (e.g. "Mon" instead of "Monday")
According to the zic man page, which the tzdata format adheres to, the long or short name may be used:
===
IN Names the month in which the rule takes effect. Month
names may be abbreviated.
ON Gives the day on which the rule takes effect. Recognized
forms include:
5 the fifth of the month
lastSun the last Sunday in the month
lastMon the last Monday in the month
Sun>=8 first Sunday on or after the eighth
Sun<=25 last Sunday on or before the 25th
A weekday name (e.g., Sunday) or a weekday name preceded
by “last” (e.g., lastSunday) may be abbreviated or spelled
out in full.
===
JDK-8339644 tracking the JDK related changes
According to the zic man page, which the tzdata format adheres to, the long or short name may be used:
===
IN Names the month in which the rule takes effect. Month
names may be abbreviated.
ON Gives the day on which the rule takes effect. Recognized
forms include:
5 the fifth of the month
lastSun the last Sunday in the month
lastMon the last Monday in the month
Sun>=8 first Sunday on or after the eighth
Sun<=25 last Sunday on or before the 25th
A weekday name (e.g., Sunday) or a weekday name preceded
by “last” (e.g., lastSunday) may be abbreviated or spelled
out in full.
===
- duplicates
-
JDK-8339792 Timezone Updater Tool can not handle 2024b
-
- Closed
-
-
JDK-8339994 TZUpdater fails with tzdata2024b
-
- Closed
-
- relates to
-
JDK-8339644 Improve parsing of Day/Month in tzdata rules
-
- Closed
-
-
JDK-8339803 Acknowledge case insensitive unambiguous keywords in tzdata files
-
- Closed
-