Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { public static Calendar getNextStart() { Calendar cc = Calendar.getInstance(); cc.roll(Calendar.HOUR, 1); cc.set(Calendar.MINUTE, 0); cc.set(Calendar.SECOND, 0); return cc; } }