Home
last modified time | relevance | path

Searched refs:isLeapYear (Results 1 – 15 of 15) sorted by relevance

/plugin/virtualkeyboard/vk/extensions/
H A Ddateextensions.js20 Date.prototype.isLeapYear = function () { method in Date
34 return this.isLeapYear()&&m>2?d+1:d;
48 } else if (((this.isLeapYear()?366:365) - d) < (4 - this.getIsoDay())) {
79 if (j1 == 5 || (j1 == 6 && (new Date(yi,0,1)).isLeapYear())) {
/plugin/indexmenu2/cms/extensions/
H A Ddateextensions.js11isLeapYear=function(){var i=this.getFullYear();return(i%4==0&&i%100!=0)||i%400==0};Date.prototype.… method in Date
/plugin/abc2/abc-libraries/abc2svg/
H A Dpage-1.js233 function strftime(sFormat,date){if(!(date instanceof Date))date=new Date();var nDay=date.getDay(),nDate=date.getDate(),nMonth=date.getMonth(),nYear=date.getFullYear(),nHour=date.getHours(),aDays=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],aMonths=['January','February','March','April','May','June','July','August','September','October','November','December'],aDayCount=[0,31,59,90,120,151,181,212,243,273,304,334],isLeapYear=function(){return(nYear%4===0&&nYear%100!==0)||nYear%400===0},getThursday=function(){var target=new Date(date);target.setDate(nDate-((nDay+6)%7)+3);return target},zeroPad=function(nNum,nPad){return((Math.pow(10,nPad)+nNum)+'').slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(0,3),'%A':aDays[nDay],'%b':aMonths[nMonth].slice(0,3),'%B':aMonths[nMonth],'%c':date.toUTCString(),'%C':Math.floor(nYear/100),'%d':zeroPad(nDate,2),'%e':nDate,'%F':date.toISOString().slice(0,10),'%G':getThursday().getFullYear(),'%g':(getThursday().getFullYear()+'').slice(2),'%H':zeroPad(nHour,2),'%I':zeroPad((nHour+11)%12+1,2),'%j':zeroPad(aDayCount[nMonth]+nDate+((nMonth>1&&isLeapYear())?1:0),3),'%k':nHour,'%l':(nHour+11)%12+1,'%m':zeroPad(nMonth+1,2),'%n':nMonth+1,'%M':zeroPad(date.getMinutes(),2),'%p':(nHour<12)?'AM':'PM','%P':(nHour<12)?'am':'pm','%s':Math.round(date.getTime()/1000),'%S':zeroPad(date.getSeconds(),2),'%u':nDay||7,'%V':(function(){var target=getThursday(),n1stThu=target.valueOf();target.setMonth(0,1);var nJan1=target.getDay();if(nJan1!==4)target.setMonth(0,1+((4-nJan1)+7)%7);return zeroPad(1+Math.ceil((n1stThu-target)/604800000),2)})(),'%w':nDay,'%x':date.toLocaleDateString(),'%X':date.toLocaleTimeString(),'%y':(nYear+'').slice(2),'%Y':nYear,'%z':date.toTimeString().replace(/.+GMT([+-]\d+).+/,'$1'),'%Z':date.toTimeString().replace(/.+\((.+?)\)$/,'$1')}[sMatch]||'')+'')||sMatch})} function
/plugin/davcal/fullcalendar-3.10.5/
H A Dmoment.js777 return isLeapYear(year) ? 366 : 365;
780 function isLeapYear(year) { function
795 return isLeapYear(this.year());
817 … if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
880 return modMonth === 1 ? (isLeapYear(year) ? 29 : 28) : (31 - modMonth % 7 % 2);
3874 proto.isLeapYear = getIsLeapYear;
/plugin/davcal/datetimepicker-2.4.5/
H A Djquery.datetimepicker.js2072isLeapYear()?29:28;for(var b=0;b<this.getMonth();++b){a+=Date.daysInMonth[b];}return a+this.getDat… method in Date
/plugin/edittable/lib/
H A Dhandsontable.full.js8236 return isLeapYear(year) ? 366 : 365;
8239 function isLeapYear(year) {
8254 return isLeapYear(this.year());
10952 proto.isLeapYear = getIsLeapYear;
50029 isLeapYear = function(year)
50037 return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
/plugin/achart/assets/
H A Dapexcharts.min.js6isLeapYear(t)&&(e=366),e}},{key:"determineRemainingDaysOfYear",value:function(t,e,i){var a=this.da…
/plugin/dirtylittlehelper/script/
H A Dmermaid.min.js28 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){retur… function
H A Dmermaid.min.js.map1isLeapYear","quarters","daysInMonth","weeks","isoWeeks","weeksInYear","isoWeeksInYear","_changeInP…
/plugin/diagramsnet/lib/js/mermaid/
H A Dmermaid.min.js29 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){retur… function
/plugin/flowcharts/
H A Dmermaid.min.js24 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){retur… function
/plugin/dirtylittlehelper/mermaid/editor/
H A Dbundle.js1 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},kn.year=Ee,kn.isLeapYear=function(){retur…
426 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=De,dn.isLeapYear=function(){retur…
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A Dbundle.js1 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},kn.year=Ee,kn.isLeapYear=function(){retur…
426 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},dn.year=De,dn.isLeapYear=function(){retur…
H A Dbundle.js.map1isLeapYear=function(){return ke(this.year())},ln.weekYear=function(e){return tn.call(this,e,this.w…
/plugin/diagramsnet/lib/js/
H A Dextensions.min.js1728 …ale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){retur… function