Here you can find the source of isOneDayZeroPoint(Date date)
public static boolean isOneDayZeroPoint(Date date)
//package com.java2s; import java.util.*; public class Main { public static long ONE_DAY_MILLISECONDS = 86400000; public static boolean isOneDayZeroPoint(Date date) { if (date != null) { long time = date.getTime() + ONE_DAY_MILLISECONDS / 3; if (time % ONE_DAY_MILLISECONDS == 0) { return true; }/*from w w w .jav a 2s . com*/ } return false; } }