Here you can find the source of createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second)
public static Calendar createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second)
//package com.java2s; /*//from www .jav a2 s . co m * Copyright 2000-2013 Enonic AS * http://www.enonic.com/license */ import java.util.Calendar; import java.util.GregorianCalendar; public class Main { public static Calendar createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second) { return new GregorianCalendar(year, month, dayOfMonth, hourOfDay, minute, second); } }