I want to have 2 dates on a midlet but it seems that it das not work.
the
java code that I want to translate to a Midlet is this.
GregorianCalendar day = new GregorianCalendar();
GregorianCalendar back = new GregorianCalendar();
back.add(Calendar.DATE, -35);
Date d = day.getTime();
Date e = back.getTime();
DateFormat A = DateFormat.getDateInstance(DateFormat.LONG);
DateFormat C = DateFormat.getDateInstance(DateFormat.LONG);
String B = A.format(d);
String T = C.format(e);
whats wrong.