Year.Minus 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Minus(Int64, ITemporalUnit) | |
Minus(ITemporalAmount) |
Minus(Int64, ITemporalUnit)
[Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Year;", "", ApiSince=26)]
public Java.Time.Year? Minus (long amountToSubtract, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Year;", "", ApiSince=26)>]
member this.Minus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.Year
参数
- amountToSubtract
- Int64
- unit
- ITemporalUnit
返回
- 属性
适用于
Minus(ITemporalAmount)
[Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Year;", "", ApiSince=26)]
public Java.Time.Year? Minus (Java.Time.Temporal.ITemporalAmount? amountToSubtract);
[<Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Year;", "", ApiSince=26)>]
member this.Minus : Java.Time.Temporal.ITemporalAmount -> Java.Time.Year
参数
- amountToSubtract
- ITemporalAmount
返回
- 属性