Java Hour to milliseconds hoursToMillis(int hours)

Here you can find the source of hoursToMillis(int hours)

Description

hours To Millis

License

Open Source License

Declaration

public static final int hoursToMillis(int hours) 

Method Source Code

//package com.java2s;

public class Main {
    public static final int hoursToMillis(int hours) {
        return minutesToMillis(hours * 60);
    }/*from w  w w .  ja v  a 2  s.  c o  m*/

    public static final int minutesToMillis(int minutes) {
        return secondsToMillis(minutes * 60);
    }

    public static final int secondsToMillis(int seconds) {
        return seconds * 1000;
    }
}

Related

  1. hour2Millisecond(int hours)
  2. hourMillis()
  3. hoursToMillis(double hour)
  4. hoursToMillis(long hours)
  5. hoursToMilliseconds(long hours)
  6. hourToMillis(int hour)
  7. hourToMillis(long hour)