All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Utils.TimeTable

java.lang.Object
   |
   +----Utils.TimeTable

public class TimeTable
extends Object

Constructor Index

 o TimeTable()

Method Index

 o day_To_no(String)
function for getting the number corresponding to a day (String)
 o MakeTimeTable(String[][])
this is the main functtion that takes as input the schema array and converts it to the timetable array
 o MakeTimeTable(Vector)
this main program just gives a sample 2-dim array and converts it to timetable type array.
 o no_To_Day(int)
function for getting the String day corresponding to a number
 o SlotIs(String)
simple function just to return the number corresponding to each time interval
 o toHTML(String[][][], HttpServletResponse)

Constructors

 o TimeTable
 public TimeTable()

Methods

 o 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";

 o toHTML
 public static String toHTML(String timetable[][][],
                             HttpServletResponse response)
 o 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

 o SlotIs
 public static int SlotIs(String time)
simple function just to return the number corresponding to each time interval

 o no_To_Day
 public static String no_To_Day(int no)
function for getting the String day corresponding to a number

 o 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