Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    problem with SetWorkDays()

    i tried to set saturday as a working day using setWorkDays() but it din turn out.
    what i did is:

    int workDays[] = new int[]{1,2,3,4,5,6};
    calendar.setWorkDays(workDays);
    calendar.setFirstDayOfWeek(1);

    but it dint set saturday as a working day.
    but when i try the same code with array: new int[]{1,2,3,4}
    it makes friday as non working day.

    help me making saturday as a working day in my code.
Working...
X