title: Calendar.getActualMaximum(Calendar.WEEK_OF_YEAR) weirdness
body: <p>Either I don't understand the method <code>getActualMaximum(int)</code> or the field WEEK_OF_YEAR, or there's a Sun bug involved (or all three)...could someone explain to me why (at least <strong>in a German locale</strong>...) the following code:</p>
  
  <pre><code>    Locale.setDefault( Locale.GERMAN );
      Calendar c = Calendar.getInstance();
      c.set( Calendar.YEAR, 2010 );
      c.set( Calendar.MONTH, 0 );
      c.set( Calendar.DAY_OF_MONTH, 1 );
      System.out.println("max:    "+c.getActualMaximum( Calendar.WEEK_OF_YEAR ));
      System.out.println("actual: "+c.get( Calendar.WEEK_OF_YEAR ));
  </code></pre>
  
  <p>produces the following output:</p>
  
  <pre><code>    max:    52
      actual: 53
  </code></pre>
  
  <p>Here's the Javadoc of <code>getActualMaximum(int)</code>:</p>
  
  <blockquote>
    <p>Returns the maximum value that the
    specified calendar field could have,
    given the time value of this Calendar.
    For example, the actual maximum value
    of the MONTH field is 12 in some
    years, and 13 in other years in the
    Hebrew calendar system.</p>
  </blockquote>
  
  <hr>
  
  <p><strong><em>Edit</em></strong></p>
  
  <p>The plot thickens. <strong>In an English locale</strong> (<code>-Duser.language=en -Duser.country=us</code>) the output is:</p>
  
  <pre><code>    max:    52
      actual: 1
  </code></pre>
  
  <p>Seems to point to it being a Sun bug for German locales?</p>