All Packages Class Hierarchy This Package Previous Next Index
Class Interface.Common
java.lang.Object
|
+----Interface.Common
- public class Common
- extends Object
-
COLUMNS
-
-
Common()
-
-
dayToNo(String)
- function for getting the number corresponding to a day (String)
-
getColSpan(String, String)
-
-
getColumn(String)
-
-
getDateDiff(Date, Date)
- function for getting the number of days represented by the difference
of two dates
-
getSlot(String)
- simple function just to return the number corresponding to each time interval
-
getSlot(String, char)
-
-
initTable(Date, Date)
- This function Initializes the table
-
noToDay(int)
- function for getting the String day corresponding to a number
-
stringToDate(String)
- function to get a java.util.Date object from a date encoded in
a string in the format dd-mm-yyyy
-
toHTML(String[][][])
-
-
toHTML(Vector)
-
-
Vector2String(Vector)
- This function takes the vector output of query and converts it into a string matrix .
-
Vector2String(Vector, Vector)
-
COLUMNS
public static final int COLUMNS
Common
public Common()
Vector2String
public static String[][] Vector2String(Vector table)
- This function takes the vector output of query and converts it into a string matrix .
In turn it feeds it to the main Make Table function
Vector2String
public static String[][] Vector2String(Vector table1,
Vector table2)
initTable
public static String[][][] initTable(Date begindate,
Date enddate)
- This function Initializes the table
toHTML
public static String toHTML(Vector vec)
toHTML
public static String toHTML(String table[][][])
getDateDiff
public static int getDateDiff(Date date2,
Date date1)
- function for getting the number of days represented by the difference
of two dates
stringToDate
public static Date stringToDate(String str)
- function to get a java.util.Date object from a date encoded in
a string in the format dd-mm-yyyy
getSlot
public static int getSlot(String time,
char c)
getColSpan
public static int getColSpan(String time1,
String time2)
getColumn
public static int getColumn(String time)
getSlot
public static int getSlot(String time)
- simple function just to return the number corresponding to each time interval
noToDay
public static String noToDay(int no)
- function for getting the String day corresponding to a number
dayToNo
public static int dayToNo(String day)
- function for getting the number corresponding to a day (String)
All Packages Class Hierarchy This Package Previous Next Index