src/edu/kit/informatik/calendar/DateTime.java
/**
     * 
     * @param other The other instance to compare
     * @return A boolean value
     */
@param other The other instance to compare
@return A boolean value
@param other The other instance to compare @return A boolean value
public boolean isBefore(DateTime other) {
        boolean isBefore = false;
        if (this.date.isBefore(other.getDate())) {
            isBefore = true;
        } else {
            if (this.date.isEqual(other.getDate())) {
                if (this.time.isBefore(other.getTime())) {
                    isBefore = true;
                }
            }
        }
        return isBefore;
    }
public boolean isBefore ( DateTime other ) { boolean isBefore = false ; if ( this . date . isBefore ( other . getDate ( ) ) ) { isBefore = true ; } else { if ( this . date . isEqual ( other . getDate ( ) ) ) { if ( this . time . isBefore ( other . getTime ( ) ) ) { isBefore = true ; } } } return isBefore ; }
@param other The other instance to compare
 @return A boolean value
@param other The other instance to compare @return A boolean value