tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject [OT] Parsing xs:dateTime values
Date Thu, 15 May 2008 16:00:52 GMT
-----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, which has an odd format. It's not directly supportable by
| java.text.SimpleDateFormat and looks like a regular expression is the
| only way to go.
|
| Does anyone have an implementation they'd care to share, or any tips in
| particular? I'd be glad to share whatever I come up with if there isn't
| anything already out there.

My existing implementation uses regular expressions, which seems a bit
overkill.

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgsXdIACgkQ9CaO5/Lv0PAZawCffPNDLZ3bXczy89Cm1ptDzu1E
va4AnRjfICMeUROWQGI40ts3CwZXtEOB
=dDWw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message