LocalDateTime.Minus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Minus(ITemporalAmount) | |
Minus(Int64, ITemporalUnit) |
Minus(ITemporalAmount)
[Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? Minus (Java.Time.Temporal.ITemporalAmount? amountToSubtract);
[<Android.Runtime.Register("minus", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.Minus : Java.Time.Temporal.ITemporalAmount -> Java.Time.LocalDateTime
Parameters
- amountToSubtract
- ITemporalAmount
Returns
- Attributes
Applies to
Minus(Int64, ITemporalUnit)
[Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/LocalDateTime;", "", ApiSince=26)]
public Java.Time.LocalDateTime? Minus (long amountToSubtract, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("minus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/LocalDateTime;", "", ApiSince=26)>]
member this.Minus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.LocalDateTime
Parameters
- amountToSubtract
- Int64
- unit
- ITemporalUnit
Returns
- Attributes