title: What's the difference between Calendar.getInstance().get(Calendar.DAY_OF_WEEK) and Calander.DAY_OF_WEEK in java
body: <p>I'm new to Kotlin and while doing a course there was a bit where you worked with the current weekday.</p>
  <p>The course used this java code to get it:</p>
  <p><code>import java.util.*</code></p>
  <p><code>Calendar.getInstance().get(Calendar.DAY_OF_WEEK)</code></p>
  <p>but I don't understand why
  <code>Calendar.DAY_OF_WEEK</code> wouldn't work either, or whats the difference between the two.
  Thanks for the explanation</p>