Here you can find the source of getTodayMin()
Parameter | Description |
---|
public static Date getTodayMin()
//package com.java2s; import java.util.Calendar; import java.util.Date; public class Main { public static Date getTodayMin() { Calendar cal = Calendar.getInstance(); cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 0); cal.set(Calendar.SECOND, 0); cal.set(Calendar.MILLISECOND, 0); return cal.getTime(); }//from w w w . j av a 2 s .c om }