Calendar.FirstDayOfWeek Property

Definition

Returns what the first day of the week is, where 1 = #SUNDAY and 7 = #SATURDAY. -or- Sets what the first day of the week is, where 1 = #SUNDAY and 7 = #SATURDAY.

public virtual int FirstDayOfWeek { [Android.Runtime.Register("getFirstDayOfWeek", "()I", "GetGetFirstDayOfWeekHandler", ApiSince=24)] get; [Android.Runtime.Register("setFirstDayOfWeek", "(I)V", "GetSetFirstDayOfWeek_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getFirstDayOfWeek", "()I", "GetGetFirstDayOfWeekHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setFirstDayOfWeek", "(I)V", "GetSetFirstDayOfWeek_IHandler", ApiSince=24)>]
member this.FirstDayOfWeek : int with get, set

Property Value

the first day of the week, where 1 = #SUNDAY and 7 = #SATURDAY.

Attributes

Remarks

Property getter documentation:

Returns what the first day of the week is, where 1 = #SUNDAY and 7 = #SATURDAY. e.g., Sunday in US, Monday in France

Java documentation for android.icu.util.Calendar.getFirstDayOfWeek().

Property setter documentation:

Sets what the first day of the week is, where 1 = #SUNDAY and 7 = #SATURDAY.

Java documentation for android.icu.util.Calendar.setFirstDayOfWeek(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.

Applies to