title: Comparing two dates using Joda time
body: <p>I want to compare two dates, however I'm running into trouble. 1 date is created from a <code>java.util.date</code> object and the other is manually crafted. The following code is an example:</p>
  
  <pre><code>Date ds = new Date();
  DateTime d = new DateTime(ds);
  
  DateTime e = new DateTime(2012,12,07, 0, 0);
  System.out.println(d.isEqual(e));
  </code></pre>
  
  <p>However the test turns out <code>false</code>. I am guessing that it is because of the time. How can I check if these two dates are equal to each other (I mean the Year, month, date are identical)?</p>