title: Calendar with date only expecting, without time of the calendar?
body: <p>I'm comparing two dates one is a general date and other is got from gregorian calendar.<br>
  when i tried to compare both dates it is giving result false,<br>
  Later i realized that it is due to time difference. So even both dates are same and times different i want it to return true or set date of the latter to default.ie,0  </p>
  
  <pre><code>Eg: Start Date : Wed May 08 00:00:00 CAT 2013  
  End Date : Wed May 08 00:40:30 CAT 2013    
  </code></pre>
  
  <p>I tried calender API, set(year,month,day,hour,minute,second); but setting year,month and day i don't know.  Please help me this regard to fix it.  </p>