Review request for JDK-8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
Ramanand Patil
ramanand.patil at oracle.com
Wed Dec 9 07:44:42 UTC 2015
HI all,
Please review a fix for Bug - HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8066982"JDK-8066982
Bug - Parsing a string with ZonedDateTime.parse() that contains zone offset and zone ID "Europe/Berlin" returns a wrong ZonedDateAndTime (different offset). This error starts exactly at the transition time (included) and ends one hour later (excluded).
Webrev - http://cr.openjdk.java.net/~aefimov/8066982/webrev.00/
One existing test case in TCKZonedDateTime.java is also modified, because - when offset is invalid the local time is changed to make the result valid.
Regards,
Ramanand.
More information about the core-libs-dev
mailing list