Duration.PlusNanos(Int64) 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.
Returns a copy of this duration with the specified duration in nanoseconds added.
[Android.Runtime.Register("plusNanos", "(J)Ljava/time/Duration;", "", ApiSince=26)]
public Java.Time.Duration? PlusNanos(long nanosToAdd);
[<Android.Runtime.Register("plusNanos", "(J)Ljava/time/Duration;", "", ApiSince=26)>]
member this.PlusNanos : int64 -> Java.Time.Duration
Parameters
- nanosToAdd
- Int64
the nanoseconds to add, positive or negative
Returns
a Duration based on this duration with the specified nanoseconds added, not null
- Attributes
Remarks
To be added.
Java reference for java.time.Duration.plusNanos.