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