Calendar - funky results
For whatever reason, when I try the following:
import java.util.Calendar;
public class Test
{
public static void main(String[] args)
{
Calendar c = Calendar.getInstance();
System.out.println("c.YEAR: " + c.YEAR + " Calendar.YEAR: " + Calendar.YEAR);
}
}
It prints out c.YEAR: 1 Calendar.YEAR: 1. I tried the month as well and it is printing out as 2, and the other fields are producing the same bogus results.
I tried to run the tzupdate to see if that'd help and it didn't. I am running on Windows XP with JRE 1.6.0. Anybody?

