Having trouble getting the day of the week. Today is Monday and it should return 2 as Monday is a second day in the week of the Calendar class. But for me it returns 7!!! Why??? the c.getFirstDayOfWeek() returns 1 as normal...
Calendar c = Calendar.getInstance();
System.out.println("inside the loop +"+ c.getFirstDayOfWeek() + " " + c.DAY_OF_WEEK);