The members of Java.Util.Calendar are listed below.
See Also: Inherited members from Java.Lang.Object
Calendar() | Constructs a Calendar instance using the default TimeZone and Locale. | |
Constructs a Calendar instance using the given TimeZone and Locale. | ||
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | Am | int (0). Value of the AM_PM field indicating the period of the day from midnight to just before noon. |
const | AmPm | CalendarField (9). Field number for get and set indicating whether the HOUR is before or after noon. |
const | April | int (3). Value of the MONTH field indicating the fourth month of the year. |
const | August | int (7). Value of the MONTH field indicating the eighth month of the year. |
const | Date | CalendarField (5). Field number for get and set indicating the day of the month. |
const | DayOfMonth | CalendarField (5). Field number for get and set indicating the day of the month. |
const | DayOfWeek | CalendarField (7). Field number for get and set indicating the day of the week. |
const | DayOfWeekInMonth | CalendarField (8). Field number for get and set indicating the ordinal number of the day of the week within the current month. |
const | DayOfYear | CalendarField (6). Field number for get and set indicating the day number within the current year. |
const | December | int (11). Value of the MONTH field indicating the twelfth month of the year. |
const | DstOffset | CalendarField (16). Field number for get and set indicating the daylight savings offset from the ZONE_OFFSET in milliseconds. |
const | Era | CalendarField (0). Field number for get and set indicating the era, e.g. |
const | February | int (1). Value of the MONTH field indicating the second month of the year. |
const | FieldCount | int (17). This is the total number of fields in this calendar. |
const | Friday | int (6). Value of the DAY_OF_WEEK field indicating Friday. |
const | Hour | CalendarField (10). Field number for get and set indicating the hour of the morning or afternoon. |
const | HourOfDay | CalendarField (11). Field number for get and set indicating the hour of the day. |
const | January | int (0). Value of the MONTH field indicating the first month of the year. |
const | July | int (6). Value of the MONTH field indicating the seventh month of the year. |
const | June | int (5). Value of the MONTH field indicating the sixth month of the year. |
const | March | int (2). Value of the MONTH field indicating the third month of the year. |
const | May | int (4). Value of the MONTH field indicating the fifth month of the year. |
const | Millisecond | CalendarField (14). Field number for get and set indicating the millisecond within the second. |
const | Minute | CalendarField (12). Field number for get and set indicating the minute within the hour. |
const | Monday | int (2). Value of the DAY_OF_WEEK field indicating Monday. |
const | Month | CalendarField (2). Field number for get and set indicating the month. |
const | November | int (10). Value of the MONTH field indicating the eleventh month of the year. |
const | October | int (9). Value of the MONTH field indicating the tenth month of the year. |
const | Pm | int (1). Value of the AM_PM field indicating the period of the day from noon to just before midnight. |
const | Saturday | int (7). Value of the DAY_OF_WEEK field indicating Saturday. |
const | Second | CalendarField (13). Field number for get and set indicating the second within the minute. |
const | September | int (8). Value of the MONTH field indicating the ninth month of the year. |
const | Sunday | int (1). Value of the DAY_OF_WEEK field indicating Sunday. |
const | Thursday | int (5). Value of the DAY_OF_WEEK field indicating Thursday. |
const | Tuesday | int (3). Value of the DAY_OF_WEEK field indicating Tuesday. |
const | Undecimber | int (12). Value of the MONTH field indicating the thirteenth month of the year. |
const | Wednesday | int (4). Value of the DAY_OF_WEEK field indicating Wednesday. |
const | WeekOfMonth | CalendarField (4). Field number for get and set indicating the week number within the current month. |
const | WeekOfYear | CalendarField (3). Field number for get and set indicating the week number within the current year. |
const | Year | CalendarField (1). Field number for get and set indicating the year. |
const | ZoneOffset | CalendarField (15). Field number for get and set indicating the raw (non-DST) offset from GMT in milliseconds. |
[read-only] static | AllStyles | CalendarStyle. Requests both SHORT and LONG styles in the map returned by Calendar.GetDisplayNames(int, System.Int32, System.Int32). |
FirstDayOfWeek | int. Returns the first day of the week for this Calendar. | |
[read-only] static | Instance | Calendar. Constructs a new instance of the Calendar subclass appropriate for the default Locale and default TimeZone, set to the current date and time. |
[read-only] | IsWeekDateSupported | bool. Documentation for this section has not yet been entered. |
Lenient | bool. Tests whether this Calendar accepts field values which are outside the valid range for the field. | |
[read-only] static | Long | CalendarStyle. Requests long names (such as "January") from Calendar.GetDisplayName(int, System.Int32, System.Int32) or Calendar.GetDisplayNames(int, System.Int32, System.Int32). |
MinimalDaysInFirstWeek | int. Returns the minimal days in the first week of the year. | |
[read-only] static | Short | CalendarStyle. Requests short names (such as "Jan") from Calendar.GetDisplayName(int, System.Int32, System.Int32) or Calendar.GetDisplayNames(int, System.Int32, System.Int32). |
Time | Date. Returns the time of this Calendar as a Date object. | |
TimeInMillis | long. Returns the time represented by this Calendar, recomputing the time from its fields if necessary. | |
TimeZone | TimeZone. Returns the time zone used by this Calendar. | |
[read-only] | WeeksInWeekYear | int. Documentation for this section has not yet been entered. |
[read-only] | WeekYear | int. Documentation for this section has not yet been entered. |
AreFieldsSet | bool. True iff the values in fields[] correspond to time. | |
Fields | IList<int>. Contains broken-down field values for the current value of time if areFieldsSet is true, or stale data corresponding to some previous value otherwise. | |
IsTimeSet | bool. Whether time corresponds to the values in fields[]. | |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
abstract | Add(CalendarField, int)Adds the given amount to a Calendar field. | |
After(Java.Lang.Object)Returns whether the Date represented by this Calendar instance is after the Date represented by the parameter. | ||
Before(Java.Lang.Object)Returns whether the Date represented by this Calendar instance is before the Date represented by the parameter. | ||
Clear()Clears the values of all the time fields, marking them all unset and assigning them all a value of zero. | ||
Clear(CalendarField)Clears the value in the given time field, marking it unset and assigning it a value of zero. | ||
Clone()Returns a shallow copy of this Calendar with the same properties. | ||
CompareTo(Calendar)Compares the time represented by this Calendar to that represented by the given Calendar. | ||
Get(CalendarField)Returns the value of the given field after computing the field values by calling complete() first. | ||
GetActualMaximum(CalendarField)Returns the maximum value of the given field for the current date. | ||
GetActualMinimum(CalendarField)Returns the minimum value of the given field for the current date. | ||
static | GetAvailableLocales()Returns an array of locales for which custom Calendar instances are available. | |
GetDisplayName(int, int, Locale)Returns a human-readable string for the value of field using the given style and locale. | ||
GetDisplayNames(int, int, Locale)Returns a map of human-readable strings to corresponding values, for the given field, style, and locale. | ||
abstract | GetGreatestMinimum(CalendarField)Returns the greatest minimum value of the given field. | |
static | GetInstance(Locale)Constructs a new instance of the Calendar subclass appropriate for the given Locale and default TimeZone, set to the current date and time. | |
static | GetInstance(TimeZone)Constructs a new instance of the Calendar subclass appropriate for the default Locale and given TimeZone, set to the current date and time. | |
static | GetInstance(TimeZone, Locale)Constructs a new instance of the Calendar subclass appropriate for the given Locale and given TimeZone, set to the current date and time. | |
abstract | GetLeastMaximum(CalendarField)Returns the smallest maximum value of the given field. | |
abstract | GetMaximum(CalendarField)Returns the greatest maximum value of the given field. | |
abstract | GetMinimum(CalendarField)Returns the smallest minimum value of the given field. this returns the smallest value that get can return for the given field. | |
IsSet(CalendarField)Tests whether the given field is set. | ||
abstract | Roll(CalendarField, bool)Increment or decrement the given field and wrap the value of the field when it goes beyond the maximum or minimum value for the current date. | |
Roll(CalendarField, int)Adds the given amount to the given field and wraps the value of the field when it goes beyond the maximum or minimum value for the current date. | ||
Set(CalendarField, int)Sets the given field to the given value. | ||
Set(int, int, int)Sets the year, month, and day of the month fields. | ||
Set(int, int, int, int, int)Sets the year, month, day of the month, hour of day, and minute fields. | ||
Set(int, int, int, int, int, int)Sets the year, month, day of the month, hour of day, minute, and second fields. | ||
SetWeekDate(int, int, int)Documentation for this section has not yet been entered. |
Complete()Computes the time from the fields if the time has not already been set. | ||
abstract | ComputeFields()Computes the Calendar fields from time. | |
abstract | ComputeTime()Computes time from the Calendar fields. | |
InternalGet(int)Returns the value of the given field without recomputing. |
Java.Lang.IComparable.CompareTo | Documentation for this section has not yet been entered. |