Checking which date comes first?
<p>It seems logical that there should be some simple method to check which <code>DatePicker</code> object comes first but I can't find done.</p>

<pre><code>// so if you had two objects
final DatePicker start_datepicker = (DatePicker)findViewById(R.id.DatePickerStart);
final DatePicker end_datepicker = (DatePicker)findViewById(R.id.DatePickerEnd);

// I was thinking something along the lines of:
if (end_datepicker &gt; start_datepicker) {
  // something
}

// or is there something like 
if (end_datepicker.isLarger(start_datepicker)) {
  // Something
}
</code></pre>

<p>Is this possible or does anyone know of something simple along these lines to compare to dates?</p>
