Here you can find the source of millisToHours(long millis)
private static long millisToHours(long millis)
//package com.java2s; //License from project: Open Source License public class Main { private static long millisToHours(long millis) { return millis / 1000 / 60 / 60; }//from w w w .ja v a 2 s. c o m }