I have an android app who manipulates dates via java.util.Calendar
When I want to use today's date, I use :
Date today = Calendar.getInstance().getTime();
I want to know how to manipulate yesterday's date, I've tried multiple syntax but nothing worked, I was thinking about something like
yesterday = today - 24(UNITS.HOURS)
but that's not correct !