List of utility methods to do Hour to milliseconds
long | hour2Millisecond(int hours) hour Millisecond return hours * 60 * 60 * 1000;
|
long | hourMillis() hour Millis return 1000l * 60 * 60;
|
long | hoursToMillis(double hour) utility to convert a given number of hours to milliseconds return minutesToMillis(hour * 60);
|
int | hoursToMillis(int hours) hours To Millis return minutesToMillis(hours * 60);
|
long | hoursToMillis(long hours) hours To Millis return hours * 60 * 60 * 100;
|
long | hoursToMilliseconds(long hours) hours To Milliseconds return hours * 3600000;
|
int | hourToMillis(int hour) hour To Millis return minuteToMillis(hour * 60);
|
long | hourToMillis(long hour) hour To Millis if (hour < 0L) { return 0L; return hour * 3600000L; |