String to GregorianCalendar plz help
Hi, I want some data out of my database, who makes the text to String when I get it out... And now I wanna make it from String to GregorianCalendar, how do I do this???
Need help badly!!
Does it have to be a GregorianCalendar? Isn't a Date object enough? Anyway, it's easy to convert a Date into a GregorianCalendar.
To convert a String into a Date use SimpleDateFormat class:
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center