Package org.graalvm.polyglot.proxy
Interface ProxyDuration
- All Superinterfaces:
Proxy
Interface to be implemented to mimic guest language objects that represents durations.
- Since:
- 19.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the duration information.static ProxyDuration
Creates a proxy duration from a duration.
-
Method Details
-
asDuration
Duration asDuration()Returns the duration information. The returned value must not benull
.- Since:
- 19.2.0
-
from
Creates a proxy duration from a duration.- Since:
- 19.2.0
-