Java Utililty Methods Day to Milliseconds

List of utility methods to do Day to Milliseconds

Description

The list of methods to do Day to Milliseconds are organized into topic(s).

Method

longday2Millisecode(int days)
day Millisecode
return days * 24 * 60 * 60 * 1000;
longdayMillis()
day Millis
return 1000l * 60 * 60 * 24;
longdaysToMillis(double days)
utility to convert a given number of days to milliseconds
return hoursToMillis(days * 24);
longdaysToMillis(final int days)
days To Millis
return (long) days * 24L * 60L * 60L * 1000L;
longdaysToMillis(int days)
days To Millis
return hoursToMillis(days * 24);
longdaysToMillis(long days)
Convert a number of days to milliseconds
return days * 24l * 60l * 60l * 1000l;