Year.MinusYears(Int64) Method

Definition

Returns a copy of this Year with the specified number of years subtracted.

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

Parameters

yearsToSubtract
Int64

the years to subtract, may be negative

Returns

a Year based on this year with the year subtracted, not null

Attributes

Remarks

To be added.

Java reference for java.time.Year.minusYears.

Applies to