Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { private static Calendar getTodayAutoPushTime() { Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.HOUR_OF_DAY, 10); calendar.set(Calendar.MINUTE, 0); return calendar; } }