if(!dateObject){ dateObject = new Date(); } 
if(!dateObject){ dateObject = new Date(); } 
dojo.date.toRfc3339 = function(/*Date?*/dateObject, /*String?*/selector){//  summary://    Format a JavaScript Date object as a string according to RFC 3339////  dateObject://    A JavaScript date, or the current date and time, by default////  selector://    "dateOnly" or "timeOnly" to format selected portions of the Date object.//    Date and time will be formatted by default.//FIXME: tolerate Number, string input?  if(!dateObject){    dateObject = new Date();  }  var _ = dojo.string.pad;  var formattedDate = [];  if(selector != "timeOnly"){    var date = [_(dateObject.getFullYear(),4), _(dateObject.getMonth()+1,2), _(dateObject.getDate(),2)].join('-');    formattedDate.push(date);  }  if(selector != "dateOnly"){    var time = [_(dateObject.getHours(),2), _(dateObject.getMinutes(),2), _(dateObject.getSeconds(),2)].join(':');    var timezoneOffset = dateObject.getTimezoneOffset();    time += (timezoneOffset > 0 ? "-" : "+") +          _(Math.floor(Math.abs(timezoneOffset)/60),2) + ":" +          _(Math.abs(timezoneOffset)%60,2);    formattedDate.push(time);  }  return formattedDate.join('T'); // String};
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js