[threeten-dev] j.u.Formatter

Xueming Shen xueming.shen at oracle.com
Fri Dec 7 00:24:26 PST 2012


Hi,

Here is the webrev for the change of adding the support of jsr310 new 
date/time
in j.u.Formatter.

http://cr.openjdk.java.net/~sherman/jdk8_threeten/jufmt/

Here is the result of the Test310
http://cr.openjdk.java.net/~sherman/jdk8_threeten/jufmt/result

The current proposal/impl does not use the default timezone for Instant.
Different compared to what j.u.Formatter does for "long" and j.u.Date.

I'm not so sure about if the "GMT" should be added to the fixed offset
for "Z".  Any opinion?

Stephen, it appears the ODT/OD/OT might want to return the ZoneOffset
when queried by Query.ZONE_ID, given ZoneOffset is a ZoneId now.

Opinion?

-Sherman


More information about the threeten-dev mailing list