title: How to check LocalDateTime instance is local or UTC in java?
body: <p>I have want to find whether my <code>LocalDateTime</code> instance holds local date&amp;time or UTC date&amp;time (like <code>DateTime.Kind</code> property in C#)</p>
  
  <pre><code>LocalDateTime date1=LocalDateTime.now(); // it is local
  
  LocalDateTime date2=LocalDateTime.now(ZoneId.of("UTC")); // it is UTC
  </code></pre>
  
  <p>Anything like <code>(date1.getKind() == Kind.UTC || date1.getKind() == Kind.Local)</code> in Java?</p>