Top Description Methods
org.graalvm.polyglot.proxy

public Interface ProxyTimeZone

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

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

Method Summary

Modifier and TypeMethod and Description
public ZoneId
asTimeZone()

Returns the timezone information.

public static ProxyTimeZone
from(ZoneId timeZone)

Creates a proxy timezone from a ZoneId.

Method Detail

asTimeZoneback to summary
public ZoneId asTimeZone()

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

Since
19.2.0
fromback to summary
public static ProxyTimeZone from(ZoneId timeZone)

Creates a proxy timezone from a ZoneId.

Since
19.2.0