title: How to correctly check if the date (year-month-day) represented by 2 Calendar objects are the same?
body: <p>In a Java application, I have the following situation:</p>
  
  <pre><code>Calendar today = Calendar.getInstance();
  
  Calendar firstDate = Calendar.getInstance();
  firstDate .set(2015, 01, 16);
  </code></pre>
  
  <p>I have to compare if these 2 dates are the same. <strong>I am interested only to know if the year, the month and the day are the same, the other informations have not to be considered (hour, minute, second, etcetc).</strong></p>
  
  <p>What is a good way to do it?</p>