long longValue = 420;
GregorianCalendar d1 = new GregorianCalendar(1971,04,24);
System.out.println("Before demoMethod, long = " + longValue +
" Year = " + d1.get(Calendar.YEAR));
demoMethod(longValue, d1);
System.out.println("After demoMethod, long = " + longValue +
" Year = " + d1.get(Calendar.YEAR));
if (d1 == null) { /* "can't happen" */
System.err.println("demoMethod changed my date obj!");
return;
}