_d61.setHours(v); 
_d5c.setHours(v); 
dojo.date.parse=function(_d53,_d54){_d54=_d54||{};var _d55=dojo.hostenv.normalizeLocale(_d54.locale);var info=dojo.date._getGregorianBundle(_d55);var _d57=_d54.formatLength||"full";if(!_d54.selector){_d54.selector="dateOnly";}var _d58=_d54.datePattern||info["dateFormat-"+_d57];var _d59=_d54.timePattern||info["timeFormat-"+_d57];var _d5a;if(_d54.selector=="dateOnly"){_d5a=_d58;}else{if(_d54.selector=="timeOnly"){_d5a=_d59;}else{if(_d54.selector=="dateTime"){_d5a=_d58+" "+_d59;}else{var msg="dojo.date.parse: Unknown selector param passed: '"+_d54.selector+"'.";msg+=" Defaulting to date pattern.";dojo.debug(msg);_d5a=_d58;}}}var _d5c=[];var _d5d=_processPattern(_d5a,dojo.lang.curry(this,_buildDateTimeRE,_d5c,info,_d54));var _d5e=new RegExp("^"+_d5d+"$");var _d5f=_d5e.exec(_d53);if(!_d5f){return null;}var _d60=["abbr","wide","narrow"];var _d61=new Date(1972,0);var _d62={};for(var i=1;i<_d5f.length;i++){var grp=_d5c[i-1];var l=grp.length;var v=_d5f[i];switch(grp.charAt(0)){case "y":if(l!=2){_d61.setFullYear(v);_d62.year=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _d68=year.substring(0,2)*100;var _d69=Number(year.substring(2,4));var _d6a=Math.min(_d69+20,99);var num=(v<_d6a)?_d68+v:_d68-100+v;_d61.setFullYear(num);_d62.year=num;}else{if(_d54.strict){return null;}_d61.setFullYear(v);_d62.year=v;}}break;case "M":if(l>2){if(!_d54.strict){v=v.replace(/\./g,"");v=v.toLowerCase();}var _d6c=info["months-format-"+_d60[l-3]].concat();for(var j=0;j<_d6c.length;j++){if(!_d54.strict){_d6c[j]=_d6c[j].toLowerCase();}if(v==_d6c[j]){_d61.setMonth(j);_d62.month=j;break;}}if(j==_d6c.length){dojo.debug("dojo.date.parse: Could not parse month name: '"+v+"'.");return null;}}else{_d61.setMonth(v-1);_d62.month=v-1;}break;case "E":case "e":if(!_d54.strict){v=v.toLowerCase();}var days=info["days-format-"+_d60[l-3]].concat();for(var j=0;j<days.length;j++){if(!_d54.strict){days[j]=days[j].toLowerCase();}if(v==days[j]){break;}}if(j==days.length){dojo.debug("dojo.date.parse: Could not parse weekday name: '"+v+"'.");return null;}break;case "d":_d61.setDate(v);_d62.date=v;break;case "a":var am=_d54.am||info.am;var pm=_d54.pm||info.pm;if(!_d54.strict){v=v.replace(/\./g,"").toLowerCase();am=am.replace(/\./g,"").toLowerCase();pm=pm.replace(/\./g,"").toLowerCase();}if(_d54.strict&&v!=am&&v!=pm){dojo.debug("dojo.date.parse: Could not parse am/pm part.");return null;}var _d71=_d61.getHours();if(v==pm&&_d71<12){_d61.setHours(_d71+12);}else{if(v==am&&_d71==12){_d61.setHours(0);}}break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){dojo.debug("dojo.date.parse: Illegal hours value");return null;}_d61.setHours(v);break;case "m":_d61.setMinutes(v);break;case "s":_d61.setSeconds(v);break;case "S":_d61.setMilliseconds(v);break;default:dojo.unimplemented("dojo.date.parse: unsupported pattern char="+grp.charAt(0));}}if(_d62.year&&_d61.getFullYear()!=_d62.year){dojo.debug("Parsed year: '"+_d61.getFullYear()+"' did not match input year: '"+_d62.year+"'.");return null;}if(_d62.month&&_d61.getMonth()!=_d62.month){dojo.debug("Parsed month: '"+_d61.getMonth()+"' did not match input month: '"+_d62.month+"'.");return null;}if(_d62.date&&_d61.getDate()!=_d62.date){dojo.debug("Parsed day of month: '"+_d61.getDate()+"' did not match input day of month: '"+_d62.date+"'.");return null;}return _d61;};
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/8d5e2ec356191d3f7b7197ccdd754d1a5010e15f/struts_dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js