共用方式為


OffsetDateTime.MinusYears(Int64) Method

Definition

[Android.Runtime.Register("minusYears", "(J)Ljava/time/OffsetDateTime;", "", ApiSince=26)]
public Java.Time.OffsetDateTime? MinusYears (long years);
[<Android.Runtime.Register("minusYears", "(J)Ljava/time/OffsetDateTime;", "", ApiSince=26)>]
member this.MinusYears : int64 -> Java.Time.OffsetDateTime

Parameters

years
Int64

Returns

Attributes

Applies to