Java Millisecond to Day getDaysZeroTimeMillis(long dateline)

Here you can find the source of getDaysZeroTimeMillis(long dateline)

Description

get Days Zero Time Millis

License

Open Source License

Declaration

public static long getDaysZeroTimeMillis(long dateline) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

    public static long getDaysZeroTimeMillis(long dateline) {
        return ((dateline / 86400 * 86400) + (dateline % 86400 < 57600 ? 0 : 86400)) - 28800;
    }/*  ww w  .  j  a  va  2 s .  c  o m*/
}

Related

  1. getDayDiffInMillisec(int p_daysToAdd, int p_startDay, int p_currentDay)
  2. getDayFromMilliSecond(int milliSecond)
  3. getDaysAsMillis(int days)
  4. getDaysFromMillis(long time)