add: if (numbers == null) return Number.NaN; 
context: Wicket.DateTime.parseDate = function(pattern, value) {	numbers = value.match(/(\d+)/g);	var day, month, year;	arrayPos = 0;	for (i = 0; i < pattern.length; i++) {		c = pattern.charAt(i);		while ((pattern.charAt(i) == c) && (i < pattern.length)) {			i++;		}		if (c == 'y') {			year = numbers[arrayPos++];		} else if (c == 'M') {			month = numbers[arrayPos++];		} else if (c == 'd') {			day = numbers[arrayPos++];		}		if (arrayPos > 2) break;	}	// TODO this is a bit crude. Make nicer some time.	if (year < 100) {		if (year < 70) {			year = year * 1 + 2000;		} else {			year = year * 1 + 1900;		}	}	var date = new Date();	date.setFullYear(year, (month - 1), day);	return date;}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1204/ede1c1e91d622f6682f8e8519e7e7aaa7209a7d6/wicket-date.js/clean/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/wicket-date.js