title: Java 8 Date and Time Temporal Field
body: <p>I navigation across Java 8 Date and Time new API and i couldn't go any further and i cannot find any good resource in the web i hope you be kindle with this question.</p>
  
  <p>My simple source code is</p>
  
  <pre><code>final LocalDate date = LocalDate.now();
  date.get(TemporalField field)
  </code></pre>
  
  <p>And i get the source code and i see.</p>
  
  <pre><code>public int get(TemporalField field)
    Gets the value of the specified field from this date as an int.
  </code></pre>
  
  <p>My question is how i can get a TemporalField or which is the easiest way to get this code to work..</p>
  
  <pre><code>final int value = date.get(????);
  </code></pre>
  
  <p>This works thanks to JB Nizet</p>
  
  <pre><code>date.get(java.time.temporal.ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH);
  </code></pre>
  
  <p>API. </p>
  
  <pre><code>http://docs.oracle.com/javase/8/docs/api/java/time/temporal/ChronoField.html
  </code></pre>