var offset = 0; if(d){ if(d[0] != 'Z'){ offset = (Number(d[3]) * 60) + Number(d[5]); offset *= ((d[2] == '-') ? 1 : -1); } offset -= dateObject.getTimezoneOffset(); formattedString = formattedString.substr(0, formattedString.length - d[0].length); } 
var offset = 0; if(d){ if(d[0] != 'Z'){ offset = (Number(d[3]) * 60) + Number(d[5]); offset *= ((d[2] == '-') ? 1 : -1); } offset -= dateObject.getTimezoneOffset(); formattedString = formattedString.substr(0, formattedString.length - d[0].length); } 
dojo.date.setIso8601Time = function(/*Date*/dateObject, /*String*/formattedString){	// summary: sets a Date object based on an ISO 8601 formatted string (time only)	// first strip timezone info from the end	var timezone = "Z|(([-+])([0-9]{2})(:?([0-9]{2}))?)$";	var d = formattedString.match(new RegExp(timezone));	var offset = 0; // local time if no tz info	if(d){		if(d[0] != 'Z'){			offset = (Number(d[3]) * 60) + Number(d[5]);			offset *= ((d[2] == '-') ? 1 : -1);		}		offset -= dateObject.getTimezoneOffset();		formattedString = formattedString.substr(0, formattedString.length - d[0].length);	}	// then work out the time	var regexp = "^([0-9]{2})(:?([0-9]{2})(:?([0-9]{2})(\.([0-9]+))?)?)?$";	d = formattedString.match(new RegExp(regexp));	if(!d){		dojo.debug("invalid time string: " + formattedString);		return null; // null	}	var hours = d[1];	var mins = Number((d[3]) ? d[3] : 0);	var secs = (d[5]) ? d[5] : 0;	var ms = d[7] ? (Number("0." + d[7]) * 1000) : 0;	dateObject.setHours(hours);	dateObject.setMinutes(mins);	dateObject.setSeconds(secs);	dateObject.setMilliseconds(ms);	if(offset !== 0){		dateObject.setTime(dateObject.getTime() + offset * 60000);	}		return dateObject; // Date};
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js