I have a report created in Jasper Reports which ONLY recognizes java.util.Date\'s (not Calendar or Gregorian, etc).
Is there a way to create a date 7 days prior to t
try
Date sevenDay = new Date(System.currentTimeMillis() - 7L * 24 * 3600 * 1000));
Another way is to use Calendar but I don't like using it myself.