Here you can find the source of getHourSpareFromMilliSecond(int milliSecond)
public static int getHourSpareFromMilliSecond(int milliSecond)
//package com.java2s; public class Main { public static int getHourSpareFromMilliSecond(int milliSecond) { return (milliSecond) % (60 * 60 * 1000); }//from ww w . j a v a2 s . co m }