----- Original Message -----
From: "Jim Redman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 12:42 AM
Subject: <dateTime.iso8601>


> I need times accurate to more than 1 second.
>
> The current formatter is fixed:
>
>          f = new SimpleDateFormat ("yyyyMMdd'T'HH:mm:ss");
>
> Is there some reason why the milliseconds are not specified?  I think
> that iso8601 permits this.  So we could use the formatter:
>
>         f = new SimpleDateFormat ("yyyyMMdd'T'HH:mm:ss.SSS");
>
> and still be in compliance with the spec.

Jim,

    My understanding of Dave's position on dateTime.iso8601 is that only the
precise subset of dateTime.iso8601 specified is allowed. There is a section
in the Q&A part of the spec which disallows timezone for the same reason.

Personally I think dateTime.iso8601 is close to useless. An int field with
the number of ms since some epoc would be my preferred way of exchanging
time.

John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to