I initialize object of Gregorian class by the following code:
GregorianCalendar greCal = new GregorianCalendar(2000, 2, 1);
And display it by the following code:
System.out.println(greCal.getTime().getMonth() + "/" + greCal.getTime().getDate() + "/" + greCal.getTime().getYear());
Asa result I got:
2/1/100
(It is Wrong!)
It should be
2/1/2000
Anyone please tell me why?
