2. 40. 9. Set with GregorianCalendar.YEAR, MONTH and DATE
import java.util.GregorianCalendar;
public class Main { public static void main(String[] argv) throws Exception {
GregorianCalendar gc = new GregorianCalendar();
gc.setLenient(false);
gc.set(GregorianCalendar.YEAR, 2003);
gc.set(GregorianCalendar.MONTH, 12);
gc.set(GregorianCalendar.DATE, 1);