[threeten-dev] [threeten-develop] j.u.Formatter
Xueming Shen
xueming.shen at oracle.com
Fri Dec 7 10:23:54 PST 2012
On 12/07/2012 08:42 AM, Xueming Shen wrote:
> On 12/7/12 4:33 AM, Stephen Colebourne wrote:
>> On 7 December 2012 08:24, Xueming Shen <xueming.shen at oracle.com> wrote:
>>> 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/
>> You have manual manipulation of ChronoField.HOUR_OF_DAY, when you should use
>> ChronoField.HOUR_OF_AM_PM, ChronoField.CLOCK_HOUR_OF_AM_PM and ,
>> ChronoField.CLOCK_HOUR_OF_DAY
>>
We only need ChronoField.HOUR_OF_DAY and ChronoField.CLOCK_HOUR_OF_AMPM
here. I have updated the webrev for ths, and separated 4.
http://cr.openjdk.java.net/~sherman/jdk8_threeten/jufmt/test/java/util/Formatter/Test310.java.html
For Query.ZONE_ID on ODT/OD/OT, if we don't have a consensus here, I can hardcode in
j.u.Formatter for now to query Query.OfFSET for these three.
Thanks!
-Sherman
More information about the threeten-dev
mailing list