Definition of Gregoriancalendar

JDK Doc(JAVA)
GregorianCalendar
- class java.util..GregorianCalendar 
public class GregorianCalendar extends Calendar 
Tree:java.lang.Object - java.util.Calendar - java.util.GregorianCalendar
GregorianCalendar is a concrete subclass of and provides the standard calendar used by most of the world.

GregorianCalendar()
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar ()
Constructs a default GregorianCalendar using the current time in the default time zone with the default locale.

GregorianCalendar(Locale)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (Locale  aLocale)
Constructs a GregorianCalendar based on the current time in the default time zone with the given locale.Parameters: aLocale - the given locale.

GregorianCalendar(TimeZone)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (TimeZone  zone)
Constructs a GregorianCalendar based on the current time in the given time zone with the default locale.Parameters: zone - the given time zone.

GregorianCalendar(TimeZone, Locale)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (TimeZone  zone, Locale  aLocale)
Constructs a GregorianCalendar based on the current time in the given time zone with the given locale.Parameters: zone - the given time zone. - the given locale.aLocale - the given locale.

GregorianCalendar(int, int, int)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (int year, int month, int date)
Constructs a GregorianCalendar with the given date set in the default time zone with the default locale.Parameters: year - the value used to set the YEAR time field in the calendar. - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January.month - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January. - the value used to set the DATE time field in the calendar.date - the value used to set the DATE time field in the calendar.

GregorianCalendar(int, int, int, int, int)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (int year, int month, int date, int hour, int minute)
Constructs a GregorianCalendar with the given date and time set for the default time zone with the default locale.Parameters: year - the value used to set the YEAR time field in the calendar. - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January.month - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January. - the value used to set the DATE time field in the calendar.date - the value used to set the DATE time field in the calendar. - the value used to set the HOUR_OF_DAY time field in the calendar.hour - the value used to set the HOUR_OF_DAY time field in the calendar. - the value used to set the MINUTE time field in the calendar.minute - the value used to set the MINUTE time field in the calendar.

GregorianCalendar(int, int, int, int, int, int)
- Constructor for class java.util.GregorianCalendar 
public GregorianCalendar (int year, int month, int date, int hour, int minute, int second)
Constructs a GregorianCalendar with the given date and time set for the default time zone with the default locale.Parameters: year - the value used to set the YEAR time field in the calendar. - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January.month - the value used to set the MONTH time field in the calendar. Month value is 0-based. e.g., 0 for January. - the value used to set the DATE time field in the calendar.date - the value used to set the DATE time field in the calendar. - the value used to set the HOUR_OF_DAY time field in the calendar.hour - the value used to set the HOUR_OF_DAY time field in the calendar. - the value used to set the MINUTE time field in the calendar.minute - the value used to set the MINUTE time field in the calendar. - the value used to set the SECOND time field in the calendar.second - the value used to set the SECOND time field in the calendar.

Search Dictionary:
Search Web Search Dictionary