Java、そして実際には多くのシステムは、UTC 1970 年 1 月 1 日午前 12:00 からのミリ秒数として時間を格納します。この数値は long として定義できます。
//to get the current date/time as a long use
long time = System.currentTimeMillis();
//then you can create a an instance of the date class from this time.
Date dateInstance = new Date(time);
//you can then use your date format object to format the date however you want.
System.out.println(format1.format(dateInstance));
//to increase by a day, notice 1000 ms = 1 second, 60 seconds = 1 minute,
//60 minutes = 1 hour 24 hours = 1 day so add 1000*60*60*24
//to the long value representing time.
time += 1000*60*60*24;
//now create a new Date instance for this new time value
Date futureDateInstance = new Date(time);
//and print out the newly incremented day
System.out.println(format1.format(futureDateInstance));