Java floor floorDay(long milli)

Here you can find the source of floorDay(long milli)

Description

floor Day

License

Mozilla Public License

Declaration

public static long floorDay(long milli) 

Method Source Code

//package com.java2s;
//License from project: Mozilla Public License 

public class Main {
    public static final long DAY_IN_MILLIS = 86400000;

    public static long floorDay(long milli) {
        return milli - milli % DAY_IN_MILLIS;
    }/*from  w w  w  .ja  va  2 s .  c  om*/
}

Related

  1. floor_double(double value)
  2. floor_double_long(double d)
  3. floor_float(float f)
  4. floorAndCrop(final double x, final int min, final int max)
  5. floorData(float[] data, float floor)
  6. floorDiv(final int x, final int y)
  7. floorDiv(int dividend, int divisor)
  8. floorDiv(int dividend, int divisor)
  9. floorDiv(int dividend, int divisor)