i am a noob to Java, though a programmer for 25 years, but...

(i = 0; i < startDay; i++)
so doesn't this mean for (i=0; i<6; i++)

if the for next loop is going to stop when i is not less than...