Capas que te puede servir esto... fijate y cualquier cosa decime
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.GregorianCalendar;
public class Prueba {
private static GregorianCalendar calendar = new GregorianCalendar();
public static void main(String[] args) {
SimpleDateFormat d1 = new SimpleDateFormat("dd-MM-yyyy");
Date d = new Date();
System.out.println(d1.format(d));
System.out.println(d1.format(restarDias(d, 10)));
}
public static Date restarDias(Date date,int dias){
calendar.setGregorianChange(date);
calendar.set(GregorianCalendar.DAY_OF_YEAR, calendar.get(GregorianCalendar.DAY_OF_YEAR)-dias);
return calendar.getTime();
}
}