 var value = ""; if(dateObj instanceof Date) { value = dateObj; } else if(this.value) { var orig = this.value; var d = dojo.date.format(new Date(), { selector: "dateOnly", datePattern: "yyyy-MM-dd" }); var c = orig.split(":"); for(var i = 0; i < c.length; ++i){ if(c[i].length == 1) c[i] = "0" + c[i]; } orig = c.join(":"); value = dojo.date.fromRfc3339(d + "T" + orig); } 
 var value = ""; if(dateObj instanceof Date) { value = dateObj; } else if(this.value) { var orig = this.value; var d = dojo.date.format(new Date(), { selector: "dateOnly", datePattern: "yyyy-MM-dd" }); var c = orig.split(":"); for(var i = 0; i < c.length; ++i){ if(c[i].length == 1) c[i] = "0" + c[i]; } orig = c.join(":"); value = dojo.date.fromRfc3339(d + "T" + orig); } 
    setTime: function(/*Date|String*/dateObj){      // summary: set the current time and update the UI      var value = "";      if(dateObj instanceof Date) {        value = dateObj;      } else if(this.value) {        var orig = this.value;        var d = dojo.date.format(new Date(), { selector: "dateOnly", datePattern: "yyyy-MM-dd" });        var c = orig.split(":");        for(var i = 0; i < c.length; ++i){          if(c[i].length == 1) c[i] = "0" + c[i];        }        orig = c.join(":");        value = dojo.date.fromRfc3339(d + "T" + orig);      }      this.timePicker.setTime(value);      this._syncValueNode();    },
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