Share via


Calendar.Year Field

Definition

Caution

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

Field number for get and set indicating the year.

[Android.Runtime.Register("YEAR", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Util.CalendarField enum directly instead of this field.", true)]
public const Android.Icu.Util.CalendarField Year = 1;
[<Android.Runtime.Register("YEAR", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Util.CalendarField enum directly instead of this field.", true)>]
val mutable Year : Android.Icu.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 android.icu.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