Here you can find the source of getNextDayZeroPoint()
@SuppressWarnings("deprecation") public static String getNextDayZeroPoint()
//package com.java2s; //License from project: Apache License import java.text.SimpleDateFormat; import java.util.Date; public class Main { @SuppressWarnings("deprecation") public static String getNextDayZeroPoint() { Date date = new Date(); date.setDate(date.getDate() + 1); SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd 00:00:00"); return dateFormat.format(date); }// w w w .java 2s .c om }