Method Summary |
|
public static String | convertIntToTime(int timeValue) Converts an integer (representing the time in milliseconds) to a string (like "12:42:15.020")
Parameters: timeValue - The amount of time in milliseconds. |
public static int | convertTimeToInt(int h, int m, int s, int ms) Converts the time attribute values to one integer representing the time in milliseconds. |
public static int | convertTimeToInt(String time) |
public static int | getHours(int timeValue) Retrieves the amount of hours that are left in the timeValue variable (representing the time in milliseconds).
Parameters: timeValue - An integer which holds the relative time value. |
public static int | getMillis(int timeValue) Retrieves the amount of milliseconds that are left in the timeValue variable (representing the time in milliseconds).
Parameters: timeValue - An integer which holds the relative time value. |
public static int | getMinutes(int timeValue) Retrieves the amount of minutes that are left in the timeValue variable (representing the time in milliseconds).
Parameters: timeValue - An integer which holds the relative time value. |
public static int | getSeconds(int timeValue) Retrieves the amount of seconds that are left in the timeValue variable (representing the time in milliseconds).
Parameters: timeValue - An integer which holds the relative time value. |
public static void | main(String args) Entry point for calling this class from commandline. |