public String parseLineForDate(String line) {
        
			String[] lineArray = line.split(" ");
			if (!Logic.isMonth(lineArray[0]) && !Logic.isMonth(lineArray[1])) { 
                // example: Q1 2003 Abbott
				// Laboratories Earnings
				// Conference Call - Final FD
				// (Fair Disclosure) Wire April
				// 9, 2003 Wednesday
				int z = 0;
	  			String m = "", d = "", y = "";
				  
	  			while (z < lineArray.length) {
                    if (Logic.isMonth(lineArray[z])) {
                        m = lineArray[z];
	  					break;
	  				}
	  				z++;
	  			}
				  
	  			if (lineArray.length > (z + 2)) {
                    d = lineArray[z + 1].replace(",","");
					d = d.replaceAll("[^\\d]", "");
	  				y = lineArray[z + 2].replace(".","");
					if (Logic.isNumeric(d) && Logic.isNumeric(y)) {
                        return d + " " + m + " " + y;
					}
	  			}
			} else {
				// example: April 9, 2002 (need to transform it to 9 April 2002)
				if (line.contains(",")) {
                    lineArray[1] = lineArray[1].replace(",", "");
					return lineArray[1] + " " + lineArray[0] + " " + lineArray[2];
				} // example: 9 April 2002 
				else 
                {
                    if (line.contains("/")) {
                        String[] parts = line.split("/");
						line = parts[0].trim();
					}
					return line;
				}
			}
			return null;
    }