title: How to get ZoneOffset from ZoneId?
body: <p>I am trying to evaluate zone offset value as <code>int</code> (like -3, 0 or 3) by giving <code>zoneId</code> value, but I cannot do this by following several approaches on SO.</p>
  <pre><code>private int convertToZoneOffset(final int zoneId) {
      Instant instant = Instant.ofEpochSecond(epochSecondNow);
      ZonedDateTime atZone = instant.atZone(ZoneId.of(&quot;Asia/Kolkata&quot;));
      return ... ?
  
  }
  </code></pre>
  <p>What is a proper way for Java 11?</p>