Aracılığıyla paylaş


Calendar.WeekYear Property

Definition

Returns the week year represented by this Calendar.

public virtual int WeekYear { [Android.Runtime.Register("getWeekYear", "()I", "GetGetWeekYearHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getWeekYear", "()I", "GetGetWeekYearHandler", ApiSince=24)>]
member this.WeekYear : int

Property Value

the week year of this Calendar

Attributes

Remarks

Returns the week year represented by this Calendar. The week year is in sync with the week cycle. The #getFirstDayOfWeek() first day of the first week is the first day of the week year.

The default implementation of this method throws an UnsupportedOperationException.

Added in 1.7.

Java documentation for java.util.Calendar.getWeekYear().

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