Java.Util.Calendar: Field Members

The fields of Java.Util.Calendar are listed below. For a list of all members, see the Calendar Members list.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
Amint (0). Value of the AM_PM field indicating the period of the day from midnight to just before noon.
const
AmPmCalendarField (9). Field number for get and set indicating whether the HOUR is before or after noon.
const
Aprilint (3). Value of the MONTH field indicating the fourth month of the year.
const
Augustint (7). Value of the MONTH field indicating the eighth month of the year.
const
DateCalendarField (5). Field number for get and set indicating the day of the month.
const
DayOfMonthCalendarField (5). Field number for get and set indicating the day of the month.
const
DayOfWeekCalendarField (7). Field number for get and set indicating the day of the week.
const
DayOfWeekInMonthCalendarField (8). Field number for get and set indicating the ordinal number of the day of the week within the current month.
const
DayOfYearCalendarField (6). Field number for get and set indicating the day number within the current year.
const
Decemberint (11). Value of the MONTH field indicating the twelfth month of the year.
const
DstOffsetCalendarField (16). Field number for get and set indicating the daylight savings offset from the ZONE_OFFSET in milliseconds.
const
EraCalendarField (0). Field number for get and set indicating the era, e.g.
const
Februaryint (1). Value of the MONTH field indicating the second month of the year.
const
FieldCountint (17). This is the total number of fields in this calendar.
const
Fridayint (6). Value of the DAY_OF_WEEK field indicating Friday.
const
HourCalendarField (10). Field number for get and set indicating the hour of the morning or afternoon.
const
HourOfDayCalendarField (11). Field number for get and set indicating the hour of the day.
const
Januaryint (0). Value of the MONTH field indicating the first month of the year.
const
Julyint (6). Value of the MONTH field indicating the seventh month of the year.
const
Juneint (5). Value of the MONTH field indicating the sixth month of the year.
const
Marchint (2). Value of the MONTH field indicating the third month of the year.
const
Mayint (4). Value of the MONTH field indicating the fifth month of the year.
const
MillisecondCalendarField (14). Field number for get and set indicating the millisecond within the second.
const
MinuteCalendarField (12). Field number for get and set indicating the minute within the hour.
const
Mondayint (2). Value of the DAY_OF_WEEK field indicating Monday.
const
MonthCalendarField (2). Field number for get and set indicating the month.
const
Novemberint (10). Value of the MONTH field indicating the eleventh month of the year.
const
Octoberint (9). Value of the MONTH field indicating the tenth month of the year.
const
Pmint (1). Value of the AM_PM field indicating the period of the day from noon to just before midnight.
const
Saturdayint (7). Value of the DAY_OF_WEEK field indicating Saturday.
const
SecondCalendarField (13). Field number for get and set indicating the second within the minute.
const
Septemberint (8). Value of the MONTH field indicating the ninth month of the year.
const
Sundayint (1). Value of the DAY_OF_WEEK field indicating Sunday.
const
Thursdayint (5). Value of the DAY_OF_WEEK field indicating Thursday.
const
Tuesdayint (3). Value of the DAY_OF_WEEK field indicating Tuesday.
const
Undecimberint (12). Value of the MONTH field indicating the thirteenth month of the year.
const
Wednesdayint (4). Value of the DAY_OF_WEEK field indicating Wednesday.
const
WeekOfMonthCalendarField (4). Field number for get and set indicating the week number within the current month.
const
WeekOfYearCalendarField (3). Field number for get and set indicating the week number within the current year.
const
YearCalendarField (1). Field number for get and set indicating the year.
const
ZoneOffsetCalendarField (15). Field number for get and set indicating the raw (non-DST) offset from GMT in milliseconds.