public boolean before ( DateType d ) { if ( d . isPresent ( ) ) return true ; if ( isPresent ( ) ) return false ; return date . isBefore ( d . getCalendarDate ( ) ) ; }
Is this date before the given date . if d . isPresent always true else if this . isPresent false .