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