Share via


DayOfWeek.Value Property

Definition

Gets the day-of-week int value.

public int Value { [Android.Runtime.Register("getValue", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getValue", "()I", "", ApiSince=26)>]
member this.Value : int

Property Value

the day-of-week, from 1 (Monday) to 7 (Sunday)

Attributes

Remarks

Gets the day-of-week int value.

The values are numbered following the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). See java.time.temporal.WeekFields#dayOfWeek() for localized week-numbering.

Java documentation for java.time.DayOfWeek.getValue().

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