Java Day to Milliseconds daysToMillis(int days)

Here you can find the source of daysToMillis(int days)

Description

days To Millis

License

Open Source License

Declaration

public static final long daysToMillis(int days) 

Method Source Code

//package com.java2s;

public class Main {
    public static final long daysToMillis(int days) {
        return hoursToMillis(days * 24);
    }/*from  ww w  . java2s  .c  o  m*/

    public static final int hoursToMillis(int hours) {
        return minutesToMillis(hours * 60);
    }

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

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

Related

  1. day2Millisecode(int days)
  2. dayMillis()
  3. daysToMillis(double days)
  4. daysToMillis(final int days)
  5. daysToMillis(long days)