package Lect29Library; import java.util.*; /** * This class could be used in the complex designed associated * with the Calendar problem. It shows use of ArrayList and * Iterator. */ public class Week { private ArrayList week; public Week(int startingNumber, int startingDay) { String [] dayNames = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}; week = new ArrayList(); for (int i=startingDay; i