org.kuali.student.lum.common.client.widgets
Class GregorianCalendar
java.lang.Object
org.kuali.student.lum.common.client.widgets.Calendar
org.kuali.student.lum.common.client.widgets.GregorianCalendar
public class GregorianCalendar
- extends Calendar
- Title:
- GregorianCalendar
- Description:
- java.util.GregorianCalendar replacment
- Version:
- $Revision: 0.1 $
- Author:
- Andre Freller
Field Summary |
static int |
AD
|
static int |
BC
|
protected static int[] |
daysInMonth
|
Fields inherited from class org.kuali.student.lum.common.client.widgets.Calendar |
AM, AM_PM, amPm, APRIL, AUGUST, date, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, dayOfMonth, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, firstWeekDayOfWeek, FRIDAY, hour, HOUR, HOUR_OF_DAY, JANUARY, JULY, JUNE, MARCH, MAY, MILLISECOND, minute, MINUTE, MONDAY, month, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, second, SECOND, SEPTEMBER, SUNDAY, THURSDAY, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, year, YEAR, ZONE_OFFSET |
Constructor Summary |
GregorianCalendar()
|
GregorianCalendar(Date date)
|
GregorianCalendar(int year,
int month,
int date)
|
GregorianCalendar(int year,
int month,
int date,
int hour)
|
GregorianCalendar(int year,
int month,
int date,
int hour,
int minute)
|
GregorianCalendar(int year,
int month,
int date,
int hour,
int minute,
int second)
|
Methods inherited from class org.kuali.student.lum.common.client.widgets.Calendar |
after, after, before, before, complete, equals, equals, get, getFirstWeekDayOfWeek, getTime, getTimeInMillis, hashCode, isSet, roll, set, set, set, set, set, setFirstWeekDayOfWeek, setTime, setTime, setTimeInMillis, toString |
BC
public static final int BC
- See Also:
- Constant Field Values
AD
public static final int AD
- See Also:
- Constant Field Values
daysInMonth
protected static int[] daysInMonth
GregorianCalendar
public GregorianCalendar()
GregorianCalendar
public GregorianCalendar(Date date)
GregorianCalendar
public GregorianCalendar(int year,
int month,
int date)
GregorianCalendar
public GregorianCalendar(int year,
int month,
int date,
int hour)
GregorianCalendar
public GregorianCalendar(int year,
int month,
int date,
int hour,
int minute)
GregorianCalendar
public GregorianCalendar(int year,
int month,
int date,
int hour,
int minute,
int second)
getMaxDaysInMonth
public static int getMaxDaysInMonth(int year,
int month)
getMaxDaysInMonth
public int getMaxDaysInMonth()
getNumOfWeeksInMonth
public static int getNumOfWeeksInMonth(int year,
int month,
int firstDayOfWeek)
getNumOfWeeksInMonth
public int getNumOfWeeksInMonth()
getWeekDay
public static int getWeekDay(int year,
int month,
int dayOfMonth)
getWeekDay
public int getWeekDay()
getFirstWeekDayOfMonth
public int getFirstWeekDayOfMonth()
getMinimum
public int getMinimum(int fieldCode)
- Specified by:
getMinimum
in class Calendar
getActualMinimum
public int getActualMinimum(int fieldCode)
- Specified by:
getActualMinimum
in class Calendar
getGreatestMinimum
public int getGreatestMinimum(int fieldCode)
- Specified by:
getGreatestMinimum
in class Calendar
getMaximum
public int getMaximum(int fieldCode)
- Specified by:
getMaximum
in class Calendar
getActualMaximum
public int getActualMaximum(int fieldCode)
- Specified by:
getActualMaximum
in class Calendar
getLeastMaximum
public int getLeastMaximum(int fieldCode)
- Specified by:
getLeastMaximum
in class Calendar
set
public void set(int fieldCode,
int value)
- Specified by:
set
in class Calendar
add
public void add(int fieldCode,
int amount)
- Specified by:
add
in class Calendar
roll
public void roll(int fieldCode,
int amount)
- Specified by:
roll
in class Calendar
before
public boolean before(GregorianCalendar when)
after
public boolean after(GregorianCalendar when)
equals
public boolean equals(GregorianCalendar obj)
isLeapYear
public boolean isLeapYear()
isLeapYear
public static boolean isLeapYear(int year)
computeFields
protected void computeFields()
- Specified by:
computeFields
in class Calendar
computeTime
protected void computeTime()
- Specified by:
computeTime
in class Calendar
clone
public Object clone()
- Overrides:
clone
in class Object
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.