S
sunspot
hey,
I'm having trouble to tell JAVA that monday is the first day of the week and
not sunday. This is what I have at the moment
Calendar time;
time = Calendar.getInstance();
time.setFirstDayOfWeek(Calendar.MONDAY);
when I output time.get(Calendar.DAY_OF_WEEK) it always gives me a number on
higher then it actually is since it assumes Sunday is day 1. This really is
a annoying bug in my program. Can anyone help me or set me on the right
track ?
thnx in advance
I'm having trouble to tell JAVA that monday is the first day of the week and
not sunday. This is what I have at the moment
Calendar time;
time = Calendar.getInstance();
time.setFirstDayOfWeek(Calendar.MONDAY);
when I output time.get(Calendar.DAY_OF_WEEK) it always gives me a number on
higher then it actually is since it assumes Sunday is day 1. This really is
a annoying bug in my program. Can anyone help me or set me on the right
track ?
thnx in advance