Here you can find the source of resetTime(Calendar cal)
public static void resetTime(Calendar cal)
//package com.java2s; //License from project: Apache License import java.util.Calendar; public class Main { public static void resetTime(Calendar cal) { cal.set(11, 0);//from ww w . ja v a2 s. c o m cal.set(12, 0); cal.set(13, 0); cal.set(14, 0); } }