Top Description Methods
org.graalvm.polyglot.proxy

public Interface ProxyTime

extends Proxy
Known Direct Subinterfaces
org.graalvm.polyglot.proxy.ProxyInstant
Imports
java.time.LocalTime, org.graalvm.polyglot.Value

Interface to be implemented to mimic guest language objects that represents times.
Since
19.2.0
See Also
Proxy, Value

Method Summary

Modifier and TypeMethod and Description
public LocalTime
asTime()

Returns the time information.

public static ProxyTime
from(LocalTime time)

Creates a proxy time from a local time.

Method Detail

asTimeback to summary
public LocalTime asTime()

Returns the time information. The returned value must not be null.

Since
19.2.0
fromback to summary
public static ProxyTime from(LocalTime time)

Creates a proxy time from a local time.

Since
19.2.0