rem: return this["add"+j](this._orient);};};var nf=function(n){return function(){this._dateElement=n;return this;};};for(var k=0;k<px.length;k++){de=px[k].toLowerCase();$D[de]=$D[de+"s"]=ef(px[k]);$N[de]=$N[de+"s"]=nf(de);}}());Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ");};Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern);};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern);};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern);};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern);};Date.prototype.getAge=function(){return new Date()-this;};Date.prototype.getAgeInYears=function(){var t=Date.now(),d1=t.getDate(),m1=t.getMonth(),y1=t.getFullYear();var d2=this.getDate(),m2=this.getMonth(),y2=this.getFullYear();return(m1<m2||m1==m2&&d1<d2)?y1-y2-1:y1-y2;};Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th";}};Date.prototype.diff=function(interval,date){var ms=this-(date||Date.now());switch(interval){case"yyyy":case"yy":case"y":return Math.floor(ms/31536000000);case"qq":case"q":return Math.floor(ms/345600000);case"mm":case"m":return this.diff("yyyy",date)*12+this.getMonth();case"wk":case"ww":case"w":return Math.floor(ms/604800000);case"hh":case"h":return Math.floor(ms/3600000);case"mi":case"n":return Math.floor(ms/60000);case"ss":case"s":return Math.floor(ms/1000);case"ms":return ms;default:return Math.floor(ms/86400000);}}; 
add: return this["add"+j](this._orient);};};var nf=function(n){return function(){this._dateElement=n;return this;};};for(var k=0;k<px.length;k++){de=px[k].toLowerCase();$D[de]=$D[de+"s"]=ef(px[k]);$N[de]=$N[de+"s"]=nf(de);}}());Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ");};Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern);};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern);};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern);};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern);};Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th";}}; 
context: var ef=function(j){return function(){if(j.substring(j.length-1)!="s"){j+="s";}return this["add"+j](this._orient);};};var nf=function(n){return function(){this._dateElement=n;return this;};};for(var k=0;k<px.length;k++){de=px[k].toLowerCase();$D[de]=$D[de+"s"]=ef(px[k]);$N[de]=$N[de+"s"]=nf(de);}}());Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ");};Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern);};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern);};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern);};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern);};Date.prototype.getAge=function(){return new Date()-this;};Date.prototype.getAgeInYears=function(){var t=Date.now(),d1=t.getDate(),m1=t.getMonth(),y1=t.getFullYear();var d2=this.getDate(),m2=this.getMonth(),y2=this.getFullYear();return(m1<m2||m1==m2&&d1<d2)?y1-y2-1:y1-y2;};Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th";}};Date.prototype.diff=function(interval,date){var ms=this-(date||Date.now());switch(interval){case"yyyy":case"yy":case"y":return Math.floor(ms/31536000000);case"qq":case"q":return Math.floor(ms/345600000);case"mm":case"m":return this.diff("yyyy",date)*12+this.getMonth();case"wk":case"ww":case"w":return Math.floor(ms/604800000);case"hh":case"h":return Math.floor(ms/3600000);case"mi":case"n":return Math.floor(ms/60000);case"ss":case"s":return Math.floor(ms/1000);case"ms":return ms;default:return Math.floor(ms/86400000);}};
meta: 1273	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1273/77ad74bdaac65c1b157f513b739406df3ca6fcbb/date-mr-IN.js/buggy/build/date-mr-IN.js