Share via


Year.Length Method

Definition

Gets the length of this year in days.

[Android.Runtime.Register("length", "()I", "", ApiSince=26)]
public int Length ();
[<Android.Runtime.Register("length", "()I", "", ApiSince=26)>]
member this.Length : unit -> int

Returns

the length of this year in days, 365 or 366

Attributes

Remarks

Gets the length of this year in days.

Java documentation for java.time.Year.length().

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