Interface ProxyTimeZone

All Superinterfaces:
Proxy
All Known Subinterfaces:
ProxyInstant

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

    Modifier and Type
    Method
    Description
    Returns the timezone information.
    from(ZoneId timeZone)
    Creates a proxy timezone from a ZoneId.
  • Method Details

    • asTimeZone

      ZoneId asTimeZone()
      Returns the timezone information. The returned value must not be null.
      Since:
      19.2.0
    • from

      static ProxyTimeZone from(ZoneId timeZone)
      Creates a proxy timezone from a ZoneId.
      Since:
      19.2.0