title: GregorianCalendar setFirstDayOfWeek not affecting WEEK_OF_YEAR on pre Nougat
body: <p>The code below gives a different result on Nougat and pre-Nougat. Take a look and try it yourself if you want. I would appreciate it if someone could explain me why and give a solution. </p>
  
  <p>I want the correct WEEK_OF_YEAR value, dependent on the first day of the week, on all Android versions. I have a time sheet app and i'm using the gregorianCalendar a lot, so I don't feel like switching to another class/lib.</p>
  
  <pre><code>    //default first day of the week is Monday for replication. I live in the Netherlands, it's weird.
      Locale l = new Locale("nl", "NL");
  
      GregorianCalendar test = new GregorianCalendar(l);
      test.set(Calendar.YEAR, 2017);
      test.set(Calendar.MONTH, 0);
      test.set(Calendar.DAY_OF_MONTH, 29);//this is a Sunday
  
      int week = test.get(Calendar.WEEK_OF_YEAR);//should be 4
      test.setFirstDayOfWeek(1);//Set it to Sunday
      int week2 = test.get(Calendar.WEEK_OF_YEAR);//should be 5 but is 4 below nougat???
  </code></pre>