title: Java/Android Calendar, add 1 week on Sundays
body: <p>OK, so my code has worked good until the day became Sunday.</p>
  
  <p>I'm working on an app that uses the Calendar util allot, so it functioning the way i think it does is important to me! The problem:</p>
  
  <pre><code>    import java.util.Calendar;
  
      ...
  
      Calendar test = Calendar.getInstance();
  
      test.setFirstDayOfWeek(Calendar.MONDAY);
  
      Log.e("WEEEK TEST:", ""+ test.get(Calendar.WEEK_OF_YEAR));
  
      test.add(Calendar.WEEK_OF_YEAR, 1);
  
      Log.e("WEEEK TEST:", ""+ test.get(Calendar.WEEK_OF_YEAR));
  </code></pre>
  
  <p>Outputs this: </p>
  
  <pre><code>     06-01 14:04:07.636  12005-12005/test.app E/WEEEK TEST:﹕ 23
       06-01 14:04:07.636  12005-12005/test.app E/WEEEK TEST:﹕ 23
  </code></pre>
  
  <p>How can this even happen, and how do i fix it?</p>