Language

Clock Constructors

Definition

Overloads

Name Description
Clock()

Constructor accessible by subclasses.

Clock(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

Clock()

Constructor accessible by subclasses.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)]
protected Clock();
Attributes

Remarks

Constructor accessible by subclasses.

Java documentation for java.time.Clock.Clock().

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

Clock(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected Clock(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Time.Clock : nativeint * Android.Runtime.JniHandleOwnership -> Java.Time.Clock

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to