Compartilhar via


Calendar.WeeksInWeekYear Property

Definition

Returns the number of weeks in the week year represented by this Calendar.

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

Property Value

the number of weeks in the week year.

Attributes

Remarks

Returns the number of weeks in the week year represented by this Calendar.

The default implementation of this method throws an UnsupportedOperationException.

Added in 1.7.

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

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