Here you can find the source of getSecondByHour(int hour)
public static long getSecondByHour(int hour)
//package com.java2s; //License from project: Apache License public class Main { public static long getSecondByHour(int hour) { return getSecondByMinute(hour * 60); }//from w ww . jav a2 s . c om public static long getSecondByMinute(int minute) { return (minute * 60); } }