Interface ProxyDuration

All Superinterfaces:
Proxy

public interface ProxyDuration extends Proxy
Interface to be implemented to mimic guest language objects that represents durations.
Since:
19.2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the duration information.
    from(Duration duration)
    Creates a proxy duration from a duration.
  • Method Details

    • asDuration

      Duration asDuration()
      Returns the duration information. The returned value must not be null.
      Since:
      19.2.0
    • from

      static ProxyDuration from(Duration duration)
      Creates a proxy duration from a duration.
      Since:
      19.2.0