Java Long to longToTimeString(long time)

Here you can find the source of longToTimeString(long time)

Description

long To Time String

License

Open Source License

Declaration

public static String longToTimeString(long time) 

Method Source Code

//package com.java2s;

public class Main {
    public static String longToTimeString(long time) {
        long min = (time / 1000) / 60;
        long sec = (time / 1000) % 60;

        return String.format("%02d:%02d", min, sec);
    }//ww w.j  av a  2 s.c o  m
}

Related

  1. longToRegisters(long v)
  2. longToRemoteAddrTo(long remoteAddr)
  3. longToSortableBytes(long value, byte[] result, int offset)
  4. longToStringAddress(long addr)
  5. longToStringWithZeroFill(long longValue, int width)
  6. longToX(double longitudeDegrees, double radius)
  7. longToX(double longitudeDegrees, double radius)
  8. longToX(final double longitude, final int zoom)
  9. longToZigZag(final long n)