Here you can find the source of createDate(final int aYear, final int aMonth, final int aDate, final int aHour, final int aMinute, final int aSecond)
public static Date createDate(final int aYear, final int aMonth, final int aDate, final int aHour, final int aMinute, final int aSecond)
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.Date; public class Main { public static Date createDate(final int aYear, final int aMonth, final int aDate, final int aHour, final int aMinute, final int aSecond) { Calendar c = Calendar.getInstance(); c.set(aYear, aMonth, aDate, aHour, aMinute, aSecond); return c.getTime(); }//from www .ja v a2 s . c o m }