rem: /* NYI */ return null; 
add: var m, day, month, year; var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\s*$"); m = s.match(yearFirstExp); if (m != null && (m[2].length == 4 || validator.dateorder == "ymd")) { day = m[6]; month = m[5]; year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10), validator.cutoffyear) } else { if (validator.dateorder == "ymd") return null; var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})\\2((\\d{4})|(\\d{2}))\\s*$"); m = s.match(yearLastExp); if (m == null) return null; if (validator.dateorder == "mdy") { day = m[3]; month = m[1]; } else { day = m[1]; month = m[3]; } year = (m[5].length == 4) ? m[5] : GetFullYear(parseInt(m[6], 10), validator.cutoffyear) } month -= 1; var date = new Date(year, month, day); return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null; 
context: function ToDate (s){	/* NYI */	return null;}
meta: 172	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/172/f9cd6d0dbb79bde7153e4901d04bc2ceb87dcb68/WebUIValidation_2.0.js/buggy/mcs/class/System.Web/resources/WebUIValidation_2.0.js