title: How to check if there is at least 1 day difference between 2 dates
body: <p>So, I have to check if the difference between 2 dates is at least one day. Then the method should return true, otherwise it is false.</p>
  
  <p>The format for dates that I´m using is <code>GregorianCalendar(year, month, day)</code>.</p>
  
  <p>So I already have a method that uses <code>date1.before(date2)</code>, but that also checks the time, so if<code>date1</code> is before <code>date2</code> it returns true, even if they are the same day (but the time is different!).</p>
  
  <p>What I need is a way to check if the difference between the dates is at least 1 day.</p>
  
  <p>Any ideas?</p>