Import java.util.Date; a Date DATE = new new a Date (); // get time System.out.println (Date.toString ()); Calendar Calendar = new new the GregorianCalendar (); calendar.setTime (DATE); Calendar.add (Calendar.YEAR, 1); // . the increase later date pushed back a year integers, negative numbers move forward Calendar.add (Calendar.DAY_OF_MONTH, 1); // put the date back a month increase to an integer. push, move forward negative Calendar.add (calendar.DATE,. 1); // the date one day later increase integer pushed back, forward movement negative. Calendar.add (calendar.WEEK_OF_MONTH,. 1); // put additional month later date pushed back integers, negative numbers move forward. dATE = calendar.getTime (); //This time is the result date pushed back a day System.out.println (date.toString ());