[threeten-dev] Fwd: Re: [threeten-develop] j.u.Formatter

Xueming Shen xueming.shen at oracle.com
Mon Dec 10 10:38:06 PST 2012


-------- Original Message --------
Message-ID: 	<50C62BCF.6040004 at oracle.com>
Date: 	Mon, 10 Dec 2012 10:37:03 -0800
From: 	Xueming Shen <xueming.shen at oracle.com>
User-Agent: 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 	1.0
To: 	threeten-develop at lists.sourceforge.net
Subject: 	Re: [threeten-develop] [threeten-dev] j.u.Formatter
References: 	<50C1A7BA.6080100 at oracle.com> <CACzrW9DtCbcajWAX=0-4nL5gLZebp3LsXOQ08wGCbnN-6zqC9Q at mail.gmail.com> <50C21C65.7040707 at oracle.com> <50C2343A.3040105 at oracle.com>
In-Reply-To: 	<50C2343A.3040105 at oracle.com>
Content-Type: 	text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 	7bit



It appears we don't have an agreement on whether or not ODT/OD/OT should
respond to Query.ZONE_ID. I updated the j.u.Formatter to hardcode the case
of ODT/OD/OT. And I also move the test case into test/javax/time/test to make
the test run easier (excluded from the build.xml though)

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

-Sherman

On 12/07/2012 10:23 AM, Xueming Shen wrote:
>  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
>
>  ------------------------------------------------------------------------------
>  LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>  Remotely access PCs and mobile devices and provide instant support
>  Improve your efficiency, and focus on delivering more value-add services
>  Discover what IT Professionals Know. Rescue delivers
>  http://p.sf.net/sfu/logmein_12329d2d
>  _______________________________________________
>  threeten-develop mailing list
>  threeten-develop at lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/threeten-develop




More information about the threeten-dev mailing list