title: How to get the current system month by 'java.sql.date'?
body: <p>I want to get the current month from the system as a string and also by using the <code>java.sql.Date</code> object.</p>
  
  <p>I have tried the code below, but <code>getMonth()</code> is strike through by <a href="http://en.wikipedia.org/wiki/Eclipse_%28software%29" rel="nofollow">Eclipse</a>:</p>
  
  <pre><code>java.util.Date date = new java.util.Date();
  java.sql.Date sqlDate = new java.sql.Date( date.getMonth() );
  </code></pre>
  
  <p>Why is it is strike through?</p>