Java Millisecond Convert milliSecToTime(double millis)

Here you can find the source of milliSecToTime(double millis)

Description

milli Sec To Time

License

Apache License

Declaration

public static String milliSecToTime(double millis) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String milliSecToTime(double millis) {
        int sec = (int) (millis / 1000);
        return String.format("%3d:%02d", Integer.valueOf(sec / 60), Integer.valueOf(sec % 60));
    }/*from ww  w .j  a va2  s . com*/
}

Related

  1. millisecondToDate(String str)
  2. millisecondToDHMS(long duration)
  3. millisecsToSecs(long millisecs)
  4. milliSecsToTime(double current, double max, double buffer)
  5. milliSecToString(final long mS)
  6. millisToCycles(double millis, double hz)
  7. millisToDateString(Long Millis)
  8. millisToDays(long millis)
  9. millisToDuration(long millis)