Top Description Methods
org.graalvm.polyglot.proxy

public Interface ProxyDate

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

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

Method Summary

Modifier and TypeMethod and Description
public LocalDate
asDate()

Returns the date information.

public static ProxyDate
from(LocalDate date)

Creates a proxy date from a local date.

Method Detail

asDateback to summary
public LocalDate asDate()

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

Since
19.2.0
fromback to summary
public static ProxyDate from(LocalDate date)

Creates a proxy date from a local date.

Since
19.2.0