Searched refs:getMonth (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-91.js33 assertEquals(0, date.getMonth());
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
H A DXMPDateTime.java44 int getMonth(); method in interface:XMPDateTime
/external/chromium_org/third_party/flot/
H A Djquery.flot.time.min.js9 */(function(e){function n(e,t){return t*Math.floor(e/t)}function r(e,t,n,r){if(typeof e.strftime=="function")return e.strftime(t);var i=function(e,t){return e=""+e,t=""+(t==null?"0":t),e.length==1?t+e:e},s=[],o=!1,u=e.getHours(),a=u<12;n==null&&(n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),r==null&&(r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]);var f;u>12?f=u-12:u==0?f=12:f=u;for(var l=0;l<t.length;++l){var c=t.charAt(l);if(o){switch(c){case"a":c=""+r[e.getDay()];break;case"b":c=""+n[e.getMonth()];break;case"d":c=i(e.getDate());break;case"e":c=i(e.getDate()," ");break;case"h":case"H":c=i(u);break;case"I":c=i(f);break;case"l":c=i(f," ");break;case"m":c=i(e.getMonth()+1);break;case"M":c=i(e.getMinutes());break;case"q":c=""+(Math.floor(e.getMonth()/3)+1);break;case"S":c=i(e.getSeconds());break;case"y":c=i(e.getFullYear()%100);break;case"Y":c=""+e.getFullYear();break;case"p":c=a?"am":"pm";break;case"P":c=a?"AM":"PM";break;case"w":c=""+e.getDay()}s.push(c),o=!1}else c=="%"?o=!0:s.push(c)}return s.join("")}function i(e){function t(e,t,n,r){e[t]=function(){return n[r].apply(n,arguments)}}var n={date:e};e.strftime!=undefined&&t(n,"strftime",e,"strftime"),t(n,"getTime",e,"getTime"),t(n,"setTime",e,"setTime");var r=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var i=0;i<r.length;i++)t(n,"get"+r[i],e,"getUTC"+r[i]),t(n,"set"+r[i],e,"setUTC"+r[i]);return n}function s(e,t){if(t.timezone=="browser")return new Date(e);if(!t.timezone||t.timezone=="utc")return i(new Date(e));if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var n=new timezoneJS.Date;return n.setTimezone(t.timezone),n.setTime(e),n}return i(new Date(e))}function l(t){t.hooks.processOptions.push(function(t,i){e.each(t.getAxes(),function(e,t){var i=t.options;i.mode=="time"&&(t.tickGenerator=function(e){var t=[],r=s(e.min,i),u=0,l=i.tickSize&&i.tickSize[1]==="quarter"||i.minTickSize&&i.minTickSize[1]==="quarter"?f:a;i.minTickSize!=null&&(typeof i.tickSize=="number"?u=i.tickSize:u=i.minTickSize[0]*o[i.minTickSize[1]]);for(var c=0;c<l.length-1;++c)if(e.delta<(l[c][0]*o[l[c][1]]+l[c+1][0]*o[l[c+1][1]])/2&&l[c][0]*o[l[c][1]]>=u)break;var h=l[c][0],p=l[c][1];if(p=="year"){if(i.minTickSize!=null&&i.minTickSize[1]=="year")h=Math.floor(i.minTickSize[0]);else{var d=Math.pow(10,Math.floor(Math.log(e.delta/o.year)/Math.LN10)),v=e.delta/o.year/d;v<1.5?h=1:v<3?h=2:v<7.5?h=5:h=10,h*=d}h<1&&(h=1)}e.tickSize=i.tickSize||[h,p];var m=e.tickSize[0];p=e.tickSize[1];var g=m*o[p];p=="second"?r.setSeconds(n(r.getSeconds(),m)):p=="minute"?r.setMinutes(n(r.getMinutes(),m)):p=="hour"?r.setHours(n(r.getHours(),m)):p=="month"?r.setMonth(n(r.getMonth(),m)):p=="quarter"?r.setMonth(3*n(r.getMonth()/3,m)):p=="year"&&r.setFullYear(n(r.getFullYear(),m)),r.setMilliseconds(0),g>=o.minute&&r.setSeconds(0),g>=o.hour&&r.setMinutes(0),g>=o.day&&r.setHours(0),g>=o.day*4&&r.setDate(1),g>=o.month*2&&r.setMonth(n(r.getMonth(),3)),g>=o.quarter*2&&r.setMonth(n(r.getMonth(),6)),g>=o.year&&r.setMonth(0);var y=0,b=Number.NaN,w;do{w=b,b=r.getTime(),t.push(b);if(p=="month"||p=="quarter")if(m<1){r.setDate(1);var E=r.getTime();r.setMonth(r.getMonth()+(p=="quarter"?3:1));var S=r.getTime();r.setTime(b+y*o.hour+(S-E)*m),y=r.getHours(),r.setHours(0)}else r.setMonth(r.getMonth()+m*(p=="quarter"?3:1));else p=="year"?r.setFullYear(r.getFullYear()+m):r.setTime(b+g)}while(b<e.m (…)
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
H A DChromeDatePickerDialog.java39 datePicker.getMonth(), datePicker.getDayOfMonth());
H A DMonthPicker.java82 public int getMonth() { method in class:MonthPicker
88 return getMonth();
H A DDateTimePickerDialog.java103 mDatePicker.getMonth(), mDatePicker.getDayOfMonth(),
123 mDatePicker.getMonth(), mDatePicker.getYear());
H A DDateDialogNormalizer.java28 int currentMonth = picker.getMonth();
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Ddate-format-tofte.js81 return monthsLong[self.getMonth()];
136 return self.getMonth() < 9?
137 "0"+(self.getMonth()+1) :
138 self.getMonth()+1;
142 return monthsShort[self.getMonth()];
146 return self.getMonth()+1;
H A Ddate-format-xparb.js67 return "Date.monthNames[this.getMonth()] + ";
69 return "String.leftPad(this.getMonth() + 1, 2, '0') + ";
71 return "Date.monthNames[this.getMonth()].substring(0, 3) + ";
73 return "(this.getMonth() + 1) + ";
127 + "m = d.getMonth();\n"
294 for (var i = 0; i < this.getMonth(); ++i) {
321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7;
327 return Date.daysInMonth[this.getMonth()];
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Ddate-format-tofte.js81 return monthsLong[self.getMonth()];
136 return self.getMonth() < 9?
137 "0"+(self.getMonth()+1) :
138 self.getMonth()+1;
142 return monthsShort[self.getMonth()];
146 return self.getMonth()+1;
H A Ddate-format-xparb.js67 return "Date.monthNames[this.getMonth()] + ";
69 return "String.leftPad(this.getMonth() + 1, 2, '0') + ";
71 return "Date.monthNames[this.getMonth()].substring(0, 3) + ";
73 return "(this.getMonth() + 1) + ";
127 + "m = d.getMonth();\n"
294 for (var i = 0; i < this.getMonth(); ++i) {
321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7;
327 return Date.daysInMonth[this.getMonth()];
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A Ddate-format-tofte.js81 return monthsLong[self.getMonth()];
136 return self.getMonth() < 9?
137 "0"+(self.getMonth()+1) :
138 self.getMonth()+1;
142 return monthsShort[self.getMonth()];
146 return self.getMonth()+1;
H A Ddate-format-xparb.js67 return "Date.monthNames[this.getMonth()] + ";
69 return "String.leftPad(this.getMonth() + 1, 2, '0') + ";
71 return "Date.monthNames[this.getMonth()].substring(0, 3) + ";
73 return "(this.getMonth() + 1) + ";
127 + "m = d.getMonth();\n"
294 for (var i = 0; i < this.getMonth(); ++i) {
321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7;
327 return Date.daysInMonth[this.getMonth()];
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dtime_util.js136 zeroPad_(date.getMonth() + 1, 2) + '-' +
H A Dcros_log_entry.js62 return this.time.getMonth() + '/' + this.time.getDate() +
/external/chromium_org/v8/test/mjsunit/
H A Ddate.js52 assertEquals(8, dMax.getMonth());
61 assertEquals(3, dMin.getMonth());
85 assertTrue(isNaN(c.getMonth()));
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DISO8601Converter.java316 if (dateTime.getMonth() == 0)
323 buffer.append(df.format(dateTime.getMonth()));
H A DXMPDateTimeImpl.java144 * @see XMPDateTime#getMonth()
146 public int getMonth() method in class:XMPDateTimeImpl
H A DXMPNormalizer.java461 binGPSStamp.getMonth() != 0 ||
477 cal.set(Calendar.MONTH, binOtherDate.getMonth());
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTimeTest.java215 theTime.getMonth();
/external/chromium_org/chrome/browser/resources/sync_internals/
H A Ddata.js110 now.getMonth() + 1,
/external/chromium_org/remoting/webapp/
H A Dhost_table_entry.js345 now.getMonth() == lastOnline.getMonth() &&
/external/chromium_org/v8/test/webkit/
H A Ddate-set-to-nan.js159 getResult = date.getMonth();
161 testFailed("date.getMonth() was " + getResult + " instead of 0");
266 getResult = date.getMonth();
268 testFailed("date.getMonth() was " + getResult + " instead of 0");
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dpopup.js74 } else if ((date.getMonth() != now.getMonth()) ||
77 'month' + date.getMonth() + 'abbr');
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
H A DPersonalDataManagerTest.java140 assertEquals("10", storedCard.getMonth());

Completed in 627 milliseconds

12