Udostępnij za pośrednictwem


Timestamp.Nanos Property

Definition

Gets this Timestamp object's nanos value. -or- Sets this Timestamp object's nanos field to the given value.

public virtual int Nanos { [Android.Runtime.Register("getNanos", "()I", "GetGetNanosHandler")] get; [Android.Runtime.Register("setNanos", "(I)V", "GetSetNanos_IHandler")] set; }
[<get: Android.Runtime.Register("getNanos", "()I", "GetGetNanosHandler")>]
[<set: Android.Runtime.Register("setNanos", "(I)V", "GetSetNanos_IHandler")>]
member this.Nanos : int with get, set

Property Value

this Timestamp object's fractional seconds component

Attributes

Exceptions

if number of nanoseconds smaller than 0 or greater than 999,999,999.

Remarks

Property getter documentation:

Gets this Timestamp object's nanos value.

Java documentation for java.sql.Timestamp.getNanos().

Property setter documentation:

Sets this Timestamp object's nanos field to the given value.

Java documentation for java.sql.Timestamp.setNanos(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to