Calendar.MinimalDaysInFirstWeek Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns what the minimal days required in the first week of the year are. -or- Sets what the minimal days required in the first week of the year are.
public virtual int MinimalDaysInFirstWeek { [Android.Runtime.Register("getMinimalDaysInFirstWeek", "()I", "GetGetMinimalDaysInFirstWeekHandler", ApiSince=24)] get; [Android.Runtime.Register("setMinimalDaysInFirstWeek", "(I)V", "GetSetMinimalDaysInFirstWeek_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getMinimalDaysInFirstWeek", "()I", "GetGetMinimalDaysInFirstWeekHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setMinimalDaysInFirstWeek", "(I)V", "GetSetMinimalDaysInFirstWeek_IHandler", ApiSince=24)>]
member this.MinimalDaysInFirstWeek : int with get, set
Property Value
the minimal days required in the first week of the year.
- Attributes
Remarks
Property getter documentation:
Returns what the minimal days required in the first week of the year are. That is, if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1. If the minimal days required must be a full week, getMinimalDaysInFirstWeek returns 7.
Java documentation for android.icu.util.Calendar.getMinimalDaysInFirstWeek()
.
Property setter documentation:
Sets what the minimal days required in the first week of the year are. For example, if the first week is defined as one that contains the first day of the first month of a year, call the method with value 1. If it must be a full week, use value 7.
Java documentation for android.icu.util.Calendar.setMinimalDaysInFirstWeek(int)
.
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.