Here you can find the source of hourToMillis(long hour)
public static final long hourToMillis(long hour)
//package com.java2s; public class Main { public static final long hourToMillis(long hour) { if (hour < 0L) { return 0L; }//from w ww.j a v a 2 s.co m return hour * 3600000L; } }