RFR: JDK-8074406 DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
Xueming Shen
xueming.shen at oracle.com
Wed Mar 4 19:48:21 UTC 2015
Stephen and Roger,
This is the DTF.appendZoneOrOffsetId() issues we discussed last year. Somehow the
ball was dropped somewhere :-)
Here is the proposed change we discussed. The only difference is I leave the ZoneOffset
to throw the DateTimeException, instead of inside the Parsed.query() directly.
I also updated the TCKZoneIdPrinterParser to (1) add the appendZoneOrOffsetId() (it appears
we don't have any corresponding test cases for it) and (2) return a ZoneOffset for "offset"
if there is indeed a ZoneOffset inside the parsed.
Issue: https://bugs.openjdk.java.net/browse/JDK-8074406
webrev: http://cr.openjdk.java.net/~sherman/8074406/webrev
Thanks!
-Sherman
More information about the core-libs-dev
mailing list