I run this test application
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
int currentDayNumber = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);
Log.d("currentDayNumber",String.valueOf(currentDayNumber));
}
The day on which this test was run was a Thursday, and "currentDayNumber" gave 5, which means that "DAY_OF_WEEK" (days of week numbered from 1 to 7) starts on Sunday.
This is contrary to what the Android Developer pages say (https://developer.android.com/reference/java/time/DayOfWeek), that by default the number 1 of DAY_OF_WEEK is set to Monday.
Any explanation for this discrepancy?