Home | History | Annotate | Download | only in util

Lines Matching refs:time

41      * Update the time to display. Separates that time into the hours, minutes, seconds.
44 * @param time new time to display - in milliseconds
46 private static void setTime(long time) {
50 if (time < 0) {
51 time = -time;
54 long seconds = time / 1000;
55 long hundreds = (time - seconds * 1000) / 10;
63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours
70 // Normalize and check if it is 'time' to invalidate
110 * @param time the time to format.
111 * @return nicely formatted time.
113 public static String getTimeString(long time) {
114 setTime(time);