OffsetTime.Minus 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Minus(ITemporalAmount) | |
Minus(Int64, ITemporalUnit) |
Minus(ITemporalAmount)
[Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetTime;", "", ApiSince=26)]
public Java.Time.OffsetTime? Minus (Java.Time.Temporal.ITemporalAmount? amountToSubtract);
[<Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetTime;", "", ApiSince=26)>]
member this.Minus : Java.Time.Temporal.ITemporalAmount -> Java.Time.OffsetTime
參數
- amountToSubtract
- ITemporalAmount
傳回
- 屬性
適用於
Minus(Int64, ITemporalUnit)
[Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetTime;", "", ApiSince=26)]
public Java.Time.OffsetTime? Minus (long amountToSubtract, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetTime;", "", ApiSince=26)>]
member this.Minus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.OffsetTime
參數
- amountToSubtract
- Int64
- unit
- ITemporalUnit
傳回
- 屬性