rem: setAttribute: function(unit, n) { if (isNaN(n)) { throw('Units must be a number.'); } var dt = new Date(this.year, this.month, this.date, this.hours, this.minutes, this.seconds, this.milliseconds); var meth = unit == 'year' ? 'FullYear' : unit.substr(0, 1).toUpperCase() + unit.substr(1); dt['set' + meth](n); this.setFromDateObjProxy(dt); }, 
add: fleegix.date.XDateTime.prototype.setAttribute = function(unit, n) { if (isNaN(n)) { throw('Units must be a number.'); } var dt = new Date(this.year, this.month, this.date, this.hours, this.minutes, this.seconds, this.milliseconds); var meth = unit == 'year' ? 'FullYear' : unit.substr(0, 1).toUpperCase() + unit.substr(1); dt['set' + meth](n); this.setFromDateObjProxy(dt); }; 
context:   setAttribute: function(unit, n) {    if (isNaN(n)) { throw('Units must be a number.'); }    var dt = new Date(this.year, this.month, this.date,      this.hours, this.minutes, this.seconds, this.milliseconds);    var meth = unit == 'year' ? 'FullYear' : unit.substr(0, 1).toUpperCase() +      unit.substr(1);    dt['set' + meth](n);    this.setFromDateObjProxy(dt);  },
meta: 10428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10428/7c923955ae281fecffef4305247fa96d868e5b7a/xdate.js/buggy/src/xdate.js