147 public static String
format(
double time) {
148 int second, hour, min, centieme;
149 hour = (int) (time / 3600.0);
151 time -= ((double) hour * 3600.0);
152 min = (int) (time / 60.0);
154 time -= ((double) min * 60.0);
156 centieme = (int) (100.0 * (time - (
double) second) + 0.5);
157 return String.valueOf(hour) +
":" + min +
":" + second +
"." + centieme;