title: Java convert UTC / CET time
body: <p>I want to convert a given date time (which is a utc date time) to the corresponding date time in CET with a proper mapping of the european summer/winter time switch (daylight saving time). I managed to to the opposite (CET to UTC) using <code>java.time</code>:</p>
  
  <pre><code>public static LocalDateTime cetToUtc(LocalDateTime timeInCet) {
      ZonedDateTime cetTimeZoned = ZonedDateTime.of(timeInCet, ZoneId.of("CET"));
      return cetTimeZoned.withZoneSameInstant(ZoneOffset.UTC).toLocalDateTime();
  }
  </code></pre>
  
  <p>But I fail to go the opposite way:</p>
  
  <pre><code>public static LocalDateTime utcToCet(LocalDateTime timeInUtc) {
       ZonedDateTime cetTimeZoned = ZonedDateTime.of(timeInUtc,ZoneId.of("UTC"));
       return cetTimeZoned.withZoneSameInstant(ZoneOffset.of(???)).toLocalDateTime(); // what to put here?
   }
  </code></pre>
  
  <p>How can I do that?</p>