Java Calendar Create createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second)

Here you can find the source of createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute, int second)

Description

create Calendar

License

Open Source License

Declaration

public static Calendar createCalendar(int year, int month, int dayOfMonth, int hourOfDay, int minute,
            int second) 

Method Source Code


//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);
    }
}

Related

  1. createCalendar(final int year, final int month, final int day, final int hour, final int minute, final int second)
  2. createCalendar(final int year, final int month, final int dayOfMonth, final TimeZone timeZone)
  3. createCalendar(int year, int month, int date)
  4. createCalendar(int year, int month, int day)
  5. createCalendar(int year, int month, int day, int hour, int minute, int second, boolean ceiling)
  6. createCalendar(long timeInMillis)
  7. createCalendarFromParts(String[] parts)
  8. createCalendarInstance(final Locale locale)
  9. createCalendarMidnight(final Date date)