Calendar.Year Field

Definition

Caution

This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.

Field number for get and set indicating the year.

[Android.Runtime.Register("YEAR")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)]
public const Java.Util.CalendarField Year = 1;
[<Android.Runtime.Register("YEAR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)>]
val mutable Year : Java.Util.CalendarField

Field Value

Value = 1
Attributes

Remarks

Field number for get and set indicating the year. This is a calendar-specific value; see subclass documentation.

Java documentation for java.util.Calendar.YEAR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to