gdateb = new GDateBuilder( c );
}
}
else if( min != null && max != null )
{
if( min.compareToGDate( gdateb ) >= 0 || max.compareToGDate( gdateb ) <= 0 )
{
// Find a date between the two
Calendar c = min.getCalendar();
Calendar cmax = max.getCalendar();
c.add( Calendar.HOUR_OF_DAY, 1 );