title: Date only comparison using "isBefore" in Java Joda Time
body: <p>Is there a way to have only dates compared for <strong>DateTime</strong> object with <strong>isBefore</strong> function?</p>
  
  <p>For ex.,</p>
  
  <pre><code>DateTime start = new DateTime(Long.parseLong(&lt;someInput&gt;));
  DateTime end   = new DateTime(Long.parseLong(&lt;someInput&gt;));
  </code></pre>
  
  <p>Now when I do,</p>
  
  <pre><code>while (start.isBefore(end)) { 
     // add start date to the list
     start = start.plusDays(1);
  }  
  </code></pre>
  
  <p>This results in inconsistent behavior (for my scenario) as it is taking into consideration time as well whereas what I want is to have just the dates compared using isBefore. Is there a way I can do that?</p>
  
  <p>Please let me know.</p>
  
  <p>Thanks!</p>