List of utility methods to do Millisecond to Day
long | getDayDiffInMillisec(int p_daysToAdd, int p_startDay, int p_currentDay) get Day Diff In Millisec Integer dayDiff = new Integer((p_daysToAdd + (p_startDay - p_currentDay)) * 24 * 3600000); return dayDiff.longValue(); |
int | getDayFromMilliSecond(int milliSecond) get Day From Milli Second return (milliSecond) / (24 * 60 * 60 * 1000);
|
long | getDaysAsMillis(int days) Given an int value treat it as a number of days and return the number of milliseconds for that number of days. return (long) days * 86400000; |
long | getDaysFromMillis(long time) Gets the number of days from epoch return time / (24 * 60 * 60);
|
long | getDaysZeroTimeMillis(long dateline) get Days Zero Time Millis return ((dateline / 86400 * 86400) + (dateline % 86400 < 57600 ? 0 : 86400)) - 28800;
|