/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.33-1.js | 94 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 103 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 120 this.month = 0; 137 d.month = MonthFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.34-1.js | 158 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 167 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 184 this.month = 0; 201 d.month = MonthFromTime(t); 209 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 216 var MONTH = Number( mon ); 218 var DAY = MakeDay( YearFromTime(TIME), MONTH, DATE );
|
15.9.5.36-1.js | 178 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 187 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 205 this.month = 0; 222 d.month = MonthFromTime(t); 230 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 238 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 241 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-2.js | 164 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 173 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 191 this.month = 0; 208 d.month = MonthFromTime(t); 216 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 224 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 227 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-3.js | 151 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 160 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 178 this.month = 0; 195 d.month = MonthFromTime(t); 203 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 211 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 214 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-4.js | 138 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 147 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 165 this.month = 0; 182 d.month = MonthFromTime(t); 190 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 198 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 201 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-5.js | 125 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 134 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 152 this.month = 0; 169 d.month = MonthFromTime(t); 177 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 185 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 188 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-6.js | 112 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 121 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 139 this.month = 0; 156 d.month = MonthFromTime(t); 164 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 172 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 175 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.36-7.js | 97 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 106 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 124 this.month = 0; 141 d.month = MonthFromTime(t); 149 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 157 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 160 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-1.js | 170 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 179 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 197 this.month = 0; 214 d.month = MonthFromTime(t); 222 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 230 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 232 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-2.js | 144 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 153 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 171 this.month = 0; 188 d.month = MonthFromTime(t); 196 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 204 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 206 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-3.js | 130 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 139 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 157 this.month = 0; 174 d.month = MonthFromTime(t); 182 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 190 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 192 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-4.js | 112 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 121 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 139 this.month = 0; 156 d.month = MonthFromTime(t); 164 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 172 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 174 var DAY = MakeDay( YEAR, MONTH, DATE );
|
15.9.5.37-5.js | 95 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 104 testcases[item++] = new TestCase( SECTION, DateString+".getMonth()", LocalDate.month, DateCase.getMonth() ); 122 this.month = 0; 139 d.month = MonthFromTime(t); 147 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) ); 155 var MONTH = ( mon == void 0 ) ? MonthFromTime(T) : Number( mon ); 157 var DAY = MakeDay( YEAR, MONTH, DATE );
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 145 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 150 calendar.set(year, month, day, hour, minute); 152 assertEquals(month, calendar.get(Calendar.MONTH)); 193 int year, int month, int day, int hour, int minute) { 195 assertEquals(month, calendar.get(Calendar.MONTH));
|
/external/icu4c/i18n/ |
basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 193 year, month, dom, dow, doy, mid); 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); 224 year, month, dom, dow, doy, mid); 225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
vzone.cpp | 117 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 123 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
/external/icu4c/samples/cal/ |
cal.c | 43 static void cal(int32_t month, int32_t year, 115 int32_t month = -1, year = -1; local 152 /* Get the month and year to display, if specified */ 155 /* Month and year specified */ 157 sscanf(argv[optind], "%d", (int*)&month); 160 /* Make sure the month value is legal */ 161 if(month < 0 || month > 12) { 162 printf("icucal: Bad value for month -- %d\n", (int)month); [all...] |
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 49 * year, month, and day spinners or a {@link CalendarView}. The set of spinners 132 * @param monthOfYear The month that was set (0-11) for compatibility 134 * @param dayOfMonth The day of the month that was set. 188 mTempDate.add(Calendar.MONTH, 1); 190 mTempDate.add(Calendar.MONTH, -1); 192 mTempDate.add(Calendar.MONTH, newVal - oldVal); 200 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), 213 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) { 214 setDate(year, month, monthDay); 227 // month [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { 41 date.set(0, 0, 0, day, month, year); 44 allDayDate.set(day, month, year);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 17 package com.android.calendar.month; 53 * easily display a month selection component in a given style. 61 // Affects when the month selection will change while scrolling up 70 // The size of the month name displayed above the week list 106 // The first day of the focus month 110 // The name of the month to display 114 // which month should be displayed/highlighted [0-11] 240 // set the title to the month of the second week 367 * in range it will move the list so that the first of the month containing 443 // and if so scroll to the month that contains i [all...] |
/external/v8/src/ |
date.js | 339 // Compute number of days given a year, month, date. 340 // Note that month and date can lie outside the normal range. 345 function MakeDay(year, month, date) { 346 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 350 month = TO_INTEGER_MAP_MINUS_ZERO(month); 354 month < kMinMonth || month > kMaxMonth || 359 // Now we rely on year, month and date being SMIs. 360 return %DateMakeDay(year, month, date) [all...] |
/external/bluetooth/glib/tests/ |
testgdateparser.c | 22 d->month,
|
/external/icu4c/test/intltest/ |
tzbdtest.h | 82 void verifyMapping(Calendar& cal, int year, int month, int dom, int hour,
|