共用方式為


OffsetDateTime.WithYear(Int32) 方法

定義

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

參數

year
Int32

傳回

屬性

適用於