title: Android Calendar: first and last day of week -> zero month
body: <p>I want to get the date of the first monday of the current week and the first friday of the current week.</p>
  
  <p>I tried it this way:</p>
  
  <pre><code>    Calendar calendarFirstDay = Calendar.getInstance(Locale.GERMANY);
      Calendar calendarLastDay = Calendar.getInstance(Locale.GERMANY);
      Date now = new Date();
  
      calendarFirstDay.setTime(now);
      calendarLastDay.setTime(now);
      calendarFirstDay.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
      calendarLastDay.set(Calendar.DAY_OF_WEEK, Calendar.FRIDAY);
  
      MyTextView.setText(calendarFirstDay.get(Calendar.DATE) + "." + calendarFirstDay.get(Calendar.MONTH) + "." + calendarFirstDay.get(Calendar.YEAR) + " - "  + calendarLastDay.get(Calendar.DATE) + "." + calendarLastDay.get(Calendar.MONTH) + "." + calendarLastDay.get(Calendar.YEAR));
  </code></pre>
  
  <p>If I try this script today (Sunday, 26.1.2014), the output is the following:</p>
  
  <blockquote>
    <p>20.0.2014 - 24.0.2014</p>
  </blockquote>
  
  <p>Correct would be 20.1.2014 - 24.1.2014</p>
  
  <p>Does somebody knows why my month is zero?</p>