GregorianCalendar: set(int year, int month, int date)
import java.util.GregorianCalendar;
public class Main { public static void main(String[] a) {
GregorianCalendar calendar = new GregorianCalendar();
calendar.set(1995, 10, 29); // Date set to 29th November 1999
}
}