title: Calendar Class in Java
body: <p>I am trying to print <code>HOUR_OF_DAY,Minute and Second</code> using Calendar Class.
  I used below command in my code.</p>
  
  <pre><code>  System.out.println(
        Calendar.HOUR+" "+
        Calendar.HOUR_OF_DAY+" "+
        Calendar.MINUTE+" "+
        Calendar.SECOND+" "
        );
  </code></pre>
  
  <p>It Gives output as below:</p>
  
  <pre><code>10 11 12 13 
  </code></pre>
  
  <p>Even when i ran this few hours back it gave same output.</p>
  
  <p>I THOUGHT IT WILL PRINT CURRENT HOUR IN 24 HOUR FORMAT.But I am not getting that output.</p>
  
  <p>So I want to know what this  <strong>HOUR_OF_DAY</strong>, <strong>HOUR</strong> are supposed to print.</p>
  
  <p>Please clarify.</p>