All Packages Class Hierarchy This Package Previous Next Index
Class Utils.TimeTable
java.lang.Object
|
+----Utils.TimeTable
- public class TimeTable
- extends Object
-
TimeTable()
-
-
day_To_no(String)
- function for getting the number corresponding to a day (String)
-
MakeTimeTable(String[][])
- this is the main functtion that takes as input the schema array
and converts it to the timetable array
-
MakeTimeTable(Vector)
- this main program just gives a sample 2-dim array and
converts it to timetable type array.
-
no_To_Day(int)
- function for getting the String day corresponding to a number
-
SlotIs(String)
- simple function just to return the number corresponding to each time interval
-
toHTML(String[][][], HttpServletResponse)
-
TimeTable
public TimeTable()
MakeTimeTable
public static String[][][] MakeTimeTable(Vector table)
- this main program just gives a sample 2-dim array and
converts it to timetable type array.
scheme[0][0]="speaker";
scheme[0][1]="courseno";
scheme[0][2]="day";
scheme[0][3]="starttime";
scheme[0][4]="endtime";
toHTML
public static String toHTML(String timetable[][][],
HttpServletResponse response)
MakeTimeTable
public static String[][][] MakeTimeTable(String scheme[][])
- this is the main functtion that takes as input the schema array
and converts it to the timetable array
SlotIs
public static int SlotIs(String time)
- simple function just to return the number corresponding to each time interval
no_To_Day
public static String no_To_Day(int no)
- function for getting the String day corresponding to a number
day_To_no
public static int day_To_no(String day)
- function for getting the number corresponding to a day (String)
All Packages Class Hierarchy This Package Previous Next Index