hronized Date parse(String arg0) throws ParseException {
> return super.parse(arg0);
> }
>
> }
>
>
>
> Please respond to "Tomcat Users List"
>
> To: Tomcat Users List
> cc:
> Subject:Re: [OT] Parsing xs:dateTime values
&g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
DJohnson,
[EMAIL PROTECTED] wrote:
| I have run into problems using SimpleDateFormat in this way in a
| multiprocessor environment, which lead to using the following simple
| subclass instead:
IMO it's better just to create DateFormat objects on the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Koberg wrote:
| You don't need regexp. Do you mean something like:
|
| private static final String ISO8601_DATEFORMAT =
| "-MM-dd'T'HH:mm:ss";
This does not account for the milliseconds and timezone. The TX format
for xs:dateTim
);
}
public synchronized Date parse(String arg0) throws ParseException {
return super.parse(arg0);
}
}
Please respond to "Tomcat Users List"
To: Tomcat Users List
cc:
Subject: Re: [OT] Parsing xs:dateTime values
Hi,
You don't need regexp. Do you mean
Hi,
You don't need regexp. Do you mean something like:
private static final String ISO8601_DATEFORMAT =
"-MM-dd'T'HH:mm:ss";
private static final java.text.SimpleDateFormat ISO8601 = new
java.text.SimpleDateFormat(
ISO8601_DATEFORMAT, java.util.Locale.US);
public static final D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I posted this on the commons-user mailing list, but I'm not getting any
love. I'm cross-posting to see if anyone on this list might have any
good ideas.
| Hi, I'm looking for an implementation of a String->Date converter for
| xs:dateTime, whic