You can use java's GregorianCalendar and use set() method to set the date to any date of your choice, furhter you can add the year by using the add(gc.YEAR, 1) to change or offset the date of your choice. (note: gc is an instance of GregorianCalendar class)