Share via


Period.WithYears(Int32) Method

Definition

[Android.Runtime.Register("withYears", "(I)Ljava/time/Period;", "", ApiSince=26)]
public Java.Time.Period? WithYears (int years);
[<Android.Runtime.Register("withYears", "(I)Ljava/time/Period;", "", ApiSince=26)>]
member this.WithYears : int -> Java.Time.Period

Parameters

years
Int32

Returns

Attributes

Applies to