Share via


Calendar.WeekOfYear 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 week number within the current year.

[Android.Runtime.Register("WEEK_OF_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 WeekOfYear = 3;
[<Android.Runtime.Register("WEEK_OF_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 WeekOfYear : Java.Util.CalendarField

Field Value

Value = 3
Attributes

Remarks

Field number for get and set indicating the week number within the current year. The first week of the year, as defined by getFirstDayOfWeek() and getMinimalDaysInFirstWeek(), has value 1. Subclasses define the value of WEEK_OF_YEAR for days before the first week of the year.

Java documentation for java.util.Calendar.WEEK_OF_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

See also