title: Calendar set YEAR issue
body: <p>I tried the following piece of code:</p>
  
  <pre><code>Calendar c1 = Calendar.getInstance();
  c1.set(Calendar.YEAR, 0);
  c1.set(Calendar.DAY_OF_YEAR, 1);
  Date d1 = c1.getTime();
  
  Calendar c2 = Calendar.getInstance();
  c2.setTime(d1);
  c2.set(Calendar.YEAR, 2001);
  c2.set(Calendar.DAY_OF_YEAR, 1);
  System.out.println(c2.getTime().toString());
  
  Calendar c3 = Calendar.getInstance();
  c3.set(Calendar.YEAR, 2000);
  c3.set(Calendar.DAY_OF_YEAR, 1);
  Date d2 = c3.getTime();
  
  Calendar c4 = Calendar.getInstance();
  c4.setTime(d2);
  c4.set(Calendar.YEAR, 2001);
  c4.set(Calendar.DAY_OF_YEAR, 1);
  System.out.println(c4.getTime().toString());
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>Wed Jan 01 23:47:00 CET 2001
  Mon Jan 01 23:47:00 CET 2001
  </code></pre>
  
  <p>What is wrong? Shouldn't I use Calendar in this way for setting YEAR?</p>