Indeed something like the code above, but with a different pattern for
SimpleDateFormat:
// for something like 'monday 14-feb-2011'
new SimpleDateFormat("* d-MMM-*");
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to t
public class TimeUtil {
private Date date;
private String formate, apCharacter;
private SimpleDateFormat simpleDateFormate;
DateFormat formatter;
public TimeUtil(){
date = new Date();
formate = "HH:mm:ss a";
simpleDateFormate = new SimpleDateFormat(formate);
apCharacter = simpleDateFormate.forma
On Tue, Feb 15, 2011 at 4:46 AM, gaurav gupta wrote:
> m using Calender class ,but dont know how to find the proper result.
Read the documentation for the Calendar class. Use the defined functions to
set a date, then to advance one day at a time, and retrieve the day
information as necessary.
-
In my application,i want a list of weekday with their date
like
sunday 13-feb-2011
monday 14-feb-2011
tuesday 15-feb-2011
how to create this list.
m using Calender class ,but dont know how to find the proper result.
--
You received this message because you are subscribed to the Google
Groups "And
4 matches
Mail list logo