[android-developers] Parse ISO8601 date (XML Schema Date)

2011-06-04 Thread Joan Pujol
Hi,

What's the best way to parse a ISO8601 date (Xml schema date) from Android.
Is there any class in the api?

PD: I need to be compatible at least with API7. I saw XMLCalendar in API but 
it's in API8.

---
Joan Pujol Espinar
http://www.joanpujol.cat

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Parse ISO8601 date (XML Schema Date)

2011-06-04 Thread Mark Murphy
On Sat, Jun 4, 2011 at 6:32 PM, Joan Pujol joanpu...@gmail.com wrote:
 Hi,
 What's the best way to parse a ISO8601 date (Xml schema date) from Android.
 Is there any class in the api?
 PD: I need to be compatible at least with API7. I saw XMLCalendar in API but
 it's in API8.

http://stackoverflow.com/questions/4013681/parse-this-type-of-date-format-in-java

Joda-Time 1.6.2 appears to be compatible with Android, based on their
release notes, if you want to go that route.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en