OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getmonth
(Results
1 - 25
of
103
) sorted by null
1
2
3
4
5
/frameworks/base/core/tests/coretests/src/android/util/
DayOfMonthCursorTest.java
47
assertEquals(Calendar.SEPTEMBER, mc.
getMonth
());
66
assertEquals(Calendar.AUGUST, mc.
getMonth
());
77
assertEquals(Calendar.SEPTEMBER, mc.
getMonth
());
96
assertEquals(Calendar.OCTOBER, mc.
getMonth
());
107
assertEquals(Calendar.SEPTEMBER, mc.
getMonth
());
120
assertEquals(Calendar.AUGUST, mc.
getMonth
());
131
assertEquals(Calendar.SEPTEMBER, mc.
getMonth
());
144
assertEquals(Calendar.OCTOBER, mc.
getMonth
());
MonthDisplayHelperTest.java
122
assertEquals(Calendar.AUGUST, helper.
getMonth
());
135
assertEquals(Calendar.DECEMBER, helper.
getMonth
());
148
assertEquals(Calendar.SEPTEMBER, helper.
getMonth
());
/libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java
222
assertEquals(current.
getMonth
(), date.
getMonth
());
255
assertEquals(current.
getMonth
(), date.
getMonth
());
283
assertEquals(current.
getMonth
(), date.
getMonth
());
297
assertEquals(current.
getMonth
(), date.
getMonth
());
310
assertEquals(0, date.
getMonth
());
330
assertEquals(current.
getMonth
(), date.getMonth())
[
all
...]
/external/chromium_org/third_party/flot/
jquery.flot.time.min.js
9
*/(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 (…)
/cts/tests/tests/widget/src/android/widget/cts/
DatePickerTest.java
77
assertEquals(10, datePicker.
getMonth
());
90
assertEquals(10, datePicker.
getMonth
());
95
assertEquals(9, datePicker.
getMonth
());
108
assertEquals(9, datePicker.
getMonth
());
132
assertEquals(9, datePicker.
getMonth
());
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
MonthPicker.java
82
public int
getMonth
() {
88
return
getMonth
();
DateDialogNormalizer.java
28
int currentMonth = picker.
getMonth
();
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
SimpleDate.java
87
int monthDiff = this.month - other.
getMonth
();
99
public int
getMonth
() {
/external/chromium/net/proxy/
proxy_resolver_script.h
142
" function
getMonth
(name) {\n" \
162
" return ((isGMT ? date.getUTCMonth() : date.
getMonth
()) ==\n" \
163
"
getMonth
(arguments[0]));\n" \
179
" var mon =
getMonth
(arguments[i]);\n" \
191
" var mon =
getMonth
(arguments[i]);\n" \
200
" date1.setMonth(date.
getMonth
());\n" \
201
" date2.setMonth(date.
getMonth
());\n" \
/external/chromium-libpac/src/
proxy_resolver_script.h
141
" function
getMonth
(name) {\n" \
161
" return ((isGMT ? date.getUTCMonth() : date.
getMonth
()) ==\n" \
162
"
getMonth
(arguments[0]));\n" \
178
" var mon =
getMonth
(arguments[i]);\n" \
190
" var mon =
getMonth
(arguments[i]);\n" \
199
" date1.setMonth(date.
getMonth
());\n" \
200
" date2.setMonth(date.
getMonth
());\n" \
/external/chromium_org/net/proxy/
proxy_resolver_script.h
141
" function
getMonth
(name) {\n" \
161
" return ((isGMT ? date.getUTCMonth() : date.
getMonth
()) ==\n" \
162
"
getMonth
(arguments[0]));\n" \
178
" var mon =
getMonth
(arguments[i]);\n" \
190
" var mon =
getMonth
(arguments[i]);\n" \
199
" date1.setMonth(date.
getMonth
());\n" \
200
" date2.setMonth(date.
getMonth
());\n" \
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/
sunspider-date-format-tofte.html
85
return monthsLong[self.
getMonth
()];
140
return self.
getMonth
() < 9?
141
"0"+(self.
getMonth
()+1) :
142
self.
getMonth
()+1;
146
return monthsShort[self.
getMonth
()];
150
return self.
getMonth
()+1;
sunspider-date-format-xparb.html
71
return "Date.monthNames[this.
getMonth
()] + ";
73
return "String.leftPad(this.
getMonth
() + 1, 2, '0') + ";
75
return "Date.monthNames[this.
getMonth
()].substring(0, 3) + ";
77
return "(this.
getMonth
() + 1) + ";
131
+ "m = d.
getMonth
();\n"
298
for (var i = 0; i < this.
getMonth
(); ++i) {
325
var day = (this.getDay() + (Date.daysInMonth[this.
getMonth
()] - this.getDate())) % 7;
331
return Date.daysInMonth[this.
getMonth
()];
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-tofte.js
81
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;
date-format-xparb.js
67
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/
date-format-tofte.js
81
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;
date-format-xparb.js
67
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/
date-format-tofte.js
81
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;
date-format-xparb.js
67
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
()];
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DateTime.java
90
public int
getMonth
() {
115
System.out.println(getYear() + " " +
getMonth
() + " " + getDay() + "; " + getHour() + " " + getMinute() + " " + getSecond() + " " + getTimeZone());
/external/chromium_org/v8/test/mjsunit/regress/
regress-91.js
33
assertEquals(0, date.
getMonth
());
/external/v8/test/mjsunit/regress/
regress-91.js
33
assertEquals(0, date.
getMonth
());
/cts/tests/tests/util/src/android/util/cts/
MonthDisplayHelperTest.java
85
assertEquals(Calendar.SEPTEMBER, mHelper.
getMonth
());
171
assertEquals(Calendar.AUGUST, mHelper.
getMonth
());
180
assertEquals(Calendar.DECEMBER, mHelper.
getMonth
());
/frameworks/base/core/java/com/android/internal/http/
HttpDateTime.java
96
month =
getMonth
(rfcMatcher.group(2));
102
month =
getMonth
(ansicMatcher.group(1));
147
private static int
getMonth
(String monthString) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DateTileView.java
84
setDate(date.getDay(), date.
getMonth
(), date.getYear());
Completed in 572 milliseconds
1
2
3
4
5