/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/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/main/java/java/text/ |
DateFormat.java | 182 * to the {@link Calendar#MONTH} field. 750 * Marks the month part of a date. 752 public static final Field MONTH = new Field("month", Calendar.MONTH); 785 * Marks the day of the month part of a date. 787 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH); 795 * Marks the day of the week in the month part of a date. 797 public static final Field DAY_OF_WEEK_IN_MONTH = new Field("day of week in month", 807 * Marks the week of the month part of a date [all...] |
SimpleDateFormat.java | 65 * <tr> <td>{@code F}</td> <td>day of week in month</td> <td>(Number)</td> <td>2 <i>(2nd Wed in July)</i></td> </tr> 69 * <tr> <td>{@code L}</td> <td>stand-alone month</td> <td>(Text/Number)</td> <td>July / 07</td> </tr> 70 * <tr> <td>{@code M}</td> <td>month in year</td> <td>(Text/Number)</td> <td>July / 07</td> </tr> 72 * <tr> <td>{@code W}</td> <td>week in month</td> <td>(Number)</td> <td>2</td> </tr> 76 * <tr> <td>{@code d}</td> <td>day in month</td> <td>(Number)</td> <td>10</td> </tr> 205 // 'L' and 'c' are ICU-compatible extensions for stand-alone month and stand-alone weekday. 611 dateFormatField = Field.MONTH; 615 dateFormatField = Field.MONTH; 717 int month = calendar.get(Calendar.MONTH); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 146 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 151 calendar.set(year, month, day, hour, minute); 153 assertEquals(month, calendar.get(Calendar.MONTH)); 196 int year, int month, int day, int hour, int minute) { 198 assertEquals(month, calendar.get(Calendar.MONTH));
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 60 * @param month 61 * the month, 0 - 11. 63 * the day of the month, 1 - 31. 69 public Date(int year, int month, int day) { 71 cal.set(1900 + year, month, day); 81 * @param month 82 * the month, 0 - 11. 84 * the day of the month, 1 - 31. 94 public Date(int year, int month, int day, int hour, int minute) { 96 cal.set(1900 + year, month, day, hour, minute) 379 int year = -1, month = -1, date = -1; local [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 940 cal2.set(Calendar.MONTH, Calendar.OCTOBER); 997 cal2.set(Calendar.MONTH, Calendar.OCTOBER); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 79 import com.android.calendar.month.MonthByWeekFragment; 514 case ViewType.MONTH: 750 // or the view type is "Month" or "Agenda". 759 && (mController.getViewType() == ViewType.MONTH || 770 // custom drawable that shows the day of the month of today [all...] |
CalendarViewAdapter.java | 50 // Week view: show the month + year 51 // Month view: show the month + year 197 case ViewType.MONTH: 229 case ViewType.MONTH: 304 // Used when the user selects a new day/week/month to watch 340 // Full date: Month,day Year 341 // Month year 342 // Month day 343 // Month [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 83 mMonth = c.get(Calendar.MONTH); 120 // Month is 0 based so add 1
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_MessageFormat.java | 89 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/external/v8/src/ |
dateparser.cc | 37 // Day and month defaults to 1. 43 int month = kNone; local 50 month = comp_[1]; 54 month = comp_[0]; 59 month = named_month_; 79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 82 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 171 // Word longer than keyword is only allowed for month names.
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
DateTest.java | 248 assertEquals("Returned incorrect month", 9, d.getMonth()); 309 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 391 assertEquals("Set incorrect month", 0, d.getMonth()); 448 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** month member 110 protected int month; field in class:SIPDate 141 this.month == other.month && 154 month = -1; 202 month = javaCal.get(Calendar.MONTH); 203 switch (month) { 242 "No date map for month " + month); [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 74 * Day of month [1-31] 79 * Month [0-11] 81 public int month; field in class:Time 126 public static final int MONTH = 5; 239 int n = DAYS_PER_MONTH[this.month]; 247 case MONTH: 280 this.month = 0; 562 this.month = that.month; 574 public void set(int second, int minute, int hour, int monthDay, int month, int year) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
DateTest.java | 252 assertEquals("Returned incorrect month", 9, d.getMonth()); 315 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 391 assertEquals("Set incorrect month", 0, d.getMonth()); 448 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 248 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), 321 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH),
|
DateTimeSettings.java | 186 public void onDateSet(DatePicker view, int year, int month, int day) { 187 setDate(year, month, day); 240 calendar.get(Calendar.MONTH), 271 calendar.get(Calendar.MONTH), 340 /* package */ static void setDate(int year, int month, int day) { 344 c.set(Calendar.MONTH, month);
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 104 * Affects when the month selection will change while scrolling upe 228 * The name of the month to display. 248 * Which month should be displayed/highlighted [0-11]. 288 * The first day of the focused month. 322 * @param month The month that was set [0-11]. 323 * @param dayOfMonth The day of the month that was set. 325 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth); 477 * Sets the color for the dates of the focused month. 479 * @param color The focused month date color [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
CalendarUtilities.java | 238 int month; field in class:CalendarUtilities.TimeZoneDate 254 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); 271 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, cal.get(Calendar.MONTH) + 1); 293 // MSFT month = 0 means no daylight time 299 tzd.month = num -1; 333 testCalendar.set(GregorianCalendar.MONTH, tzd.month); 411 int month; field in class:CalendarUtilities.RRule 415 * Create an RRULE based on month and date 416 * @param _month the month (1 = JAN, 12 = DEC 462 int month = calendar.get(Calendar.MONTH); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 41 * A view for selecting a month / year / day based on a calendar like layout. 79 * @param monthOfYear The month that was set (0-11) for compatibility 81 * @param dayOfMonth The day of the month that was set. 113 mMonthPicker = (NumberPicker) findViewById(R.id.month); 119 * If the user is in a locale where the month names are numeric, 120 * use just the number instead of the "month" character for 139 /* We display the month 1-12 but store it 0-11 so always 143 // Adjust max day of the month 187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 249 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth) [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 48 * A view for selecting a month / year / day based on a calendar like layout. 89 * @param monthOfYear The month that was set (0-11) for compatibility 91 * @param dayOfMonth The day of the month that was set. 122 mMonthPicker = (NumberPicker) findViewById(R.id.month); 128 * If the user is in a locale where the month names are numeric, 129 * use just the number instead of the "month" character for 149 /* We display the month 1-12 but store it 0-11 so always 153 // Adjust max day of the month 198 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 260 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth) [all...] |