共用方式為


YearMonth.WithYear(Int32) Method

Definition

[Android.Runtime.Register("withYear", "(I)Ljava/time/YearMonth;", "", ApiSince=26)]
public Java.Time.YearMonth? WithYear (int year);
[<Android.Runtime.Register("withYear", "(I)Ljava/time/YearMonth;", "", ApiSince=26)>]
member this.WithYear : int -> Java.Time.YearMonth

Parameters

year
Int32

Returns

Attributes

Applies to