Partager via


Calendar.WeekOfMonth 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 month.

[Android.Runtime.Register("WEEK_OF_MONTH")]
[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 WeekOfMonth = 4;
[<Android.Runtime.Register("WEEK_OF_MONTH")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)>]
val mutable WeekOfMonth : Java.Util.CalendarField

Field Value

Value = 4
Attributes

Remarks

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

Java documentation for java.util.Calendar.WEEK_OF_MONTH.

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