Uses of Class com.example.model.Schedule (Group 8: Schedule)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.example.model.Schedule

Packages that use Schedule
com.example.model |

Uses of Schedule in com.example.model

Methods in com.example.model that return Schedule
`static Schedule` | `Parser.createSchedule(java.lang.String[] arrayOfStrings)` REMOVED TEST MAIN ***************** public static void main(String[] args) { String[] array = new String[5]; array[0] = new String("0:1-2;1:1-3"); array[1] = new String("0:1-2;1:1-3"); array[2] = new String("0:1-2;1:1-3"); array[3] = new String("0:1-2;1:1-3"); array[4] = new String("0:1-2;1:1-3"); Schedule testSched = new Schedule(1); testSched = createSchedule(array); testSched.setFreeSchedule(); String newString = testSched.printFreeSchedule(); System.out.println( newString ); String expectedResult = "Day: M, Hour: 1pm" + '\n' + "Day: M, Hour: 2pm" + '\n' + "Day: T, Hour: 1pm" + '\n' + "Day: T, Hour: 2pm" + '\n' + "Day: W, Hour: 1pm" + '\n' + "Day: W, Hour: 2pm" + '\n' + "Day: TR, Hour: 1pm" + '\n' + "Day: TR, Hour: 2pm" + '\n' + "Day: F, Hour: 1pm" + '\n' + "Day: F, Hour: 2pm" + '\n'; System.out.println(expectedResult); if( newString.compareTo(expectedResult) == 0 ) System.out.println("return true"); else System.out.println("return false "); //return 0; } END OF REMOVAL

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES