return this;};Date.validateMillisecond=function(n){if(typeof n!="number"){throw new TypeError(n+" is not a Number.");}else if(n<0||n>999){throw new RangeError(n+" is not a valid value for milliseconds.");} 
return this;};Date._validate=function(value,min,max,name){if(typeof value!="number"){throw new TypeError(value+" is not a Number.");}else if(value<min||value>max){throw new RangeError(value+" is not a valid value for "+name+".");} 
if(date instanceof Date&&!isNaN(date)){return(this>date)?1:(this<date)?-1:0;}else{throw new TypeError(date);}};Date.prototype.equals=function(date){return(this.compareTo(date)===0);};Date.prototype.between=function(start,end){var t=this.getTime();return t>=start.getTime()&&t<=end.getTime();};Date.prototype.addMilliseconds=function(value){this.setMilliseconds(this.getMilliseconds()+value);return this;};Date.prototype.addSeconds=function(value){return this.addMilliseconds(value*1000);};Date.prototype.addMinutes=function(value){return this.addMilliseconds(value*60000);};Date.prototype.addHours=function(value){return this.addMilliseconds(value*3600000);};Date.prototype.addDays=function(value){return this.addMilliseconds(value*86400000);};Date.prototype.addWeeks=function(value){return this.addMilliseconds(value*604800000);};Date.prototype.addMonths=function(value){var n=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+value);this.setDate(Math.min(n,this.getDaysInMonth()));return this;};Date.prototype.addYears=function(value){return this.addMonths(value*12);};Date.prototype.add=function(config){if(typeof config=="number"){this._orient=config;return this;}var x=config;if(x.millisecond||x.milliseconds){this.addMilliseconds(x.millisecond||x.milliseconds);}if(x.second||x.seconds){this.addSeconds(x.second||x.seconds);}if(x.minute||x.minutes){this.addMinutes(x.minute||x.minutes);}if(x.hour||x.hours){this.addHours(x.hour||x.hours);}if(x.month||x.months){this.addMonths(x.month||x.months);}if(x.year||x.years){this.addYears(x.year||x.years);}if(x.day||x.days){this.addDays(x.day||x.days);}return this;};Date.validateMillisecond=function(n){if(typeof n!="number"){throw new TypeError(n+" is not a Number.");}else if(n<0||n>999){throw new RangeError(n+" is not a valid value for milliseconds.");}
4137	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4137/ace45c49f133252e38546a2b4b3af23d532ad121/core.js/clean/core.js