Duration.Plus 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
Plus(Duration) | |
Plus(Int64, ITemporalUnit) |
Plus(Duration)
[Android.Runtime.Register("plus", "(Ljava/time/Duration;)Ljava/time/Duration;", "", ApiSince=26)]
public Java.Time.Duration? Plus (Java.Time.Duration? duration);
[<Android.Runtime.Register("plus", "(Ljava/time/Duration;)Ljava/time/Duration;", "", ApiSince=26)>]
member this.Plus : Java.Time.Duration -> Java.Time.Duration
Parameters
- duration
- Duration
Returns
- Attributes
Applies to
Plus(Int64, ITemporalUnit)
[Android.Runtime.Register("plus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=26)]
public Java.Time.Duration? Plus (long amountToAdd, Java.Time.Temporal.ITemporalUnit? unit);
[<Android.Runtime.Register("plus", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration;", "", ApiSince=26)>]
member this.Plus : int64 * Java.Time.Temporal.ITemporalUnit -> Java.Time.Duration
Parameters
- amountToAdd
- Int64
- unit
- ITemporalUnit
Returns
- Attributes