/external/junit-params/src/test/java/junitparams/ |
ParamsConverterTest.java | 96 assertThat(calendar.get(Calendar.MONTH)).isEqualTo(11);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
TimestampTagTest.java | 95 int months = cal.get(Calendar.MONTH) + 1; // 0..12
|
/external/v8/src/ |
dateparser.cc | 15 // Day and month defaults to 1. 21 int month = kNone; local 28 month = comp_[1]; 32 month = comp_[0]; 37 month = named_month_; 57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 60 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 162 // Word longer than keyword is only allowed for month names.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 91 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestJapaneseChronoImpl.java | 115 assertEquals(jDate.get(ChronoField.MONTH_OF_YEAR), cal.get(Calendar.MONTH) + 1, "Month mismatch in " + jDate);
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateTimePatternGenerator.java | [all...] |
SimpleDateFormat.java | 235 * <th rowspan="8">month</th> 239 * <td rowspan="4">Month - Use one or two for the numerical month, three for the abbreviation, four for 240 * the full (wide) name, or five for the narrow name. With two ("MM"), the month number is zero-padded 259 * <td rowspan="4"><b>Stand-Alone</b> Month - Use one or two for the numerical month, three for the abbreviation, 260 * four for the full (wide) name, or 5 for the narrow name. With two ("LL"), the month number is zero-padded if 287 * <td>Week of Month</td> 294 * <td>Date - Day of the month. Use "d" to show the minimum number of digits, or "dd" to always show 307 * <td>Day of Week in Month. The example is for the 2nd Wed in July</td [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateTimePatternGenerator.java | [all...] |
SimpleDateFormat.java | 234 * <th rowspan="8">month</th> 238 * <td rowspan="4">Month - Use one or two for the numerical month, three for the abbreviation, four for 239 * the full (wide) name, or five for the narrow name. With two ("MM"), the month number is zero-padded 258 * <td rowspan="4"><b>Stand-Alone</b> Month - Use one or two for the numerical month, three for the abbreviation, 259 * four for the full (wide) name, or 5 for the narrow name. With two ("LL"), the month number is zero-padded if 286 * <td>Week of Month</td> 293 * <td>Date - Day of the month. Use "d" to show the minimum number of digits, or "dd" to always show 306 * <td>Day of Week in Month. The example is for the 2nd Wed in July</td [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 64 private static final long MONTH = 30 * DAY; 287 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH);
|
/external/e2fsprogs/util/ |
gen-android-files | 61 MONTH=`echo $DATE | awk -F- '{print $2}'` 72 case $MONTH in
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
CalendarHandler.java | 60 cal_a.roll(Calendar.MONTH, 1); 63 cal_b.roll(Calendar.MONTH, 1);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
SimpleDateFormat.java | 60 * M month in year (Text & Number) July & 07 61 * d day in month (Number) 10 70 * F day of week in month (Number) 2 (2nd Wed in July) 72 * W week in month (Number) 2 84 * L* stand alone month (Text & Number) July & 07 263 // * Thai digits for the month and Devanagari digits for the year. 516 } else if (attr.equals(java.text.DateFormat.Field.MONTH)) { 517 val = attr = Field.MONTH;
|
DateFormat.java | 158 * corresponding to the {@link Calendar#MONTH} field. 345 * corresponding to the {@link Calendar#MONTH} field. 346 * This displays the stand alone month name, if available. 353 * corresponding to the {@link Calendar#MONTH} field. 361 * corresponding to the {@link Calendar#MONTH} field. 701 * {@icu} Constant for date skeleton with month. 704 public static final String MONTH = "MMMM"; 707 * {@icu} Constant for date skeleton with abbreviated month. 713 * {@icu} Constant for date skeleton with numeric month. 719 * {@icu} Constant for date skeleton with year and month [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
CalendarHandler.java | 59 cal_a.roll(Calendar.MONTH, 1); 62 cal_b.roll(Calendar.MONTH, 1);
|
/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/widget/ |
CalendarViewLegacyDelegate.java | 70 * Affects when the month selection will change while scrolling upe 179 * The name of the month to display. 204 * Which month should be displayed/highlighted [0-11]. 244 * The first day of the focused month. 705 selectedDay.get(Calendar.MONTH), 780 * in range it will move the list so that the first of the month containing 818 // and if so scroll to the month that contains it 857 * Updates the title and selected month if the <code>view</code> has moved to a new 858 * month. 880 // Use some hysteresis for checking which month to highlight. Thi [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
DateTest.java | 245 assertEquals("Returned incorrect month", 9, d.getMonth()); 306 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 388 assertEquals("Set incorrect month", 0, d.getMonth()); 445 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarBuilderTest.java | 186 builder.setFields(Calendar.YEAR, 2000, Calendar.MONTH, Calendar.FEBRUARY); 190 expected.set(Calendar.MONTH, Calendar.FEBRUARY);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 46 * A view for selecting a month / year / day based on a calendar like layout. 87 * @param monthOfYear The month that was set (0-11) for compatibility 89 * @param dayOfMonth The day of the month that was set. 120 mMonthPicker = (NumberPicker) findViewById(R.id.month); 126 * If the user is in a locale where the month names are numeric, 127 * use just the number instead of the "month" character for 147 /* We display the month 1-12 but store it 0-11 so always 151 // Adjust max day of the month 185 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
IBMCalendarTest.java | 154 * { era, year, gregorianYear, month, dayOfMonth, ... } 166 int month = data[i++]; local 170 grego.set(gregorianYear, month, dayOfMonth); 175 cal.set(year, month, dayOfMonth); 178 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 181 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 192 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE)); 196 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE) + 197 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 267 // new BuddhistCalendar(int year, int month, int date 670 int month; field in class:IBMCalendarTest.TestData 1183 private int month; field in class:IBMCalendarTest.CalFields 1242 int month = cal.get(Calendar.MONTH) + 1; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
IBMCalendarTest.java | 153 * { era, year, gregorianYear, month, dayOfMonth, ... } 165 int month = data[i++]; local 169 grego.set(gregorianYear, month, dayOfMonth); 174 cal.set(year, month, dayOfMonth); 177 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 180 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 191 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE)); 195 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE) + 196 ", expected " + era + ":" + year + "/" + (month+1) + "/" + 266 // new BuddhistCalendar(int year, int month, int date 669 int month; field in class:IBMCalendarTest.TestData 1182 private int month; field in class:IBMCalendarTest.CalFields 1241 int month = cal.get(Calendar.MONTH) + 1; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
IslamicCalendar.java | 36 * Each month of the calendar starts when the new moon's crescent is visible 44 * and 30-day months, with a leap day added to the last month of 11 out of 56 * start of a month in the religious calendar to differ from the civil calendar 61 * of a lunar month with a fairly high degree of certainty. However, these 94 * Constant for Muharram, the 1st month of the Islamic year. 99 * Constant for Safar, the 2nd month of the Islamic year. 104 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 109 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 114 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. 119 * Constant for Jumada al-thani or (Jumada II), the 6th month of the Islamic year 752 int month = 12*(extendedYear-1); local 812 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
IslamicCalendar.java | 35 * Each month of the calendar starts when the new moon's crescent is visible 43 * and 30-day months, with a leap day added to the last month of 11 out of 55 * start of a month in the religious calendar to differ from the civil calendar 60 * of a lunar month with a fairly high degree of certainty. However, these 70 * which approach is used to determine the start of a month. By default, the 99 * Constant for Muharram, the 1st month of the Islamic year. 105 * Constant for Safar, the 2nd month of the Islamic year. 111 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 117 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 123 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year 782 int month = 12*(extendedYear-1); local 845 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local [all...] |