Java Milli Second to Minute milliToHourMinuteString(long millis)

Here you can find the source of milliToHourMinuteString(long millis)

Description

milli To Hour Minute String

License

Apache License

Declaration

public static String milliToHourMinuteString(long millis) 

Method Source Code

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

public class Main {
    public static String milliToHourMinuteString(long millis) {
        long uptimeHours = millis / 3600000;
        long uptimeMinutes = millis % 3600000;
        return uptimeHours + "hours " + uptimeMinutes + " minutes";
    }//from   w w w .j  av a 2  s.co m
}

Related

  1. millisecondsToMinutes(long ms)
  2. millisecondToMinute(Long millisecond)
  3. millisToMinutes(double millis)
  4. millisToMinutes(final long milliseconds)
  5. millisToMinutes(long millis)
  6. milliToMinutes(long millis)
  7. millsecondsToMinutesAndSeconds(long milliseconds)
  8. minuteMillis()
  9. setMinutes(long millis)