[JSR310 M7 Review request] 8007392: JSR310 DateTime API Updates

Roger Riggs Roger.Riggs at oracle.com
Fri Feb 8 14:15:44 UTC 2013


We may need to tighten this up; by calling out ISO, folks may
incorrectly assume various features that are by design not reflected in 
the API.

Either we need to say what aspects of 8601 and version the API conforms to
and /or list the variances.


On 2/8/2013 6:11 AM, Stephen Colebourne wrote:
> On 8 February 2013 11:00, Florian Weimer<fweimer at redhat.com>  wrote:
>>> 8007392: JSR 310: DateTime API Updates
>>> Webrev:
>>> http://cr.openjdk.java.net/~sherman/8007392/
>>> http://cr.openjdk.java.net/~sherman/8007392/javadoc
>> I don't think you mention that the reference to ISO 8601 actually refers to
>> ISO 8601:1988 with Technical Corrigendum 1 applied.  That would be ISO
>> 8601:1988/Cor.1:1991 (E).
>> The original standard numbered hours from 1 to 24 and minutes and seconds
>> from 1 to 60, although it is somewhat self-contradictory in this area.
> Just to note that the latest ISO-8601 is the 2004 version.
> Question is whether specifying a particular version is overly limiting
> on the specification (and we have never slavishly followed every last
> detail of the spec anyway).
> Stephen

Thanks, Roger

Oracle Java Platform Group

Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment

More information about the core-libs-dev mailing list