Java Hour to milliseconds hourToMillis(long hour)

Here you can find the source of hourToMillis(long hour)

Description

hour To Millis

License

Open Source License

Declaration

public static final long hourToMillis(long hour) 

Method Source Code

//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;
    }
}

Related

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