HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 101 - 125 of 359) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DateIntervalFormat.java 93 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and
97 * year > month > date > hour (in day) > minute > second
118 * If the largest different calendar field between date1 and date2 is "month",
124 * For date skeleton, the interval patterns when year, or month, or date is
142 * when the year, month, or day differs, falls back to fall-back
163 * For example, if user only requests year and month,
226 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY,
229 * dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "yyyy 'diff' MMM d - MMM d");
463 * "EEE, d MMM - EEE, d MMM, yyyy" for month differs,
660 } else if ( fromCalendar.get(Calendar.MONTH) !
    [all...]
RelativeDateTimeFormatter.java 223 * Month
226 MONTH,
314 * Specifies that relative unit is month, e.g. "last month",
319 MONTH,
507 * @param unit the unit e.g day? month? year?
562 case MONTH: relunit = RelativeUnit.MONTHS; break;
587 * @param unit e.g SATURDAY, DAY, MONTH
658 case MONTH: absunit = AbsoluteUnit.MONTH; break
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
IndianCalendar.java 30 * Month Length Start date (Gregorian)
74 * Constant for Chaitra, the 1st month of the Indian year.
80 * Constant for Vaisakha, the 2nd month of the Indian year.
86 * Constant for Jyaistha, the 3rd month of the Indian year.
92 * Constant for Asadha, the 4th month of the Indian year.
98 * Constant for Sravana, the 5th month of the Indian year.
104 * Constant for Bhadra, the 6th month of the Indian year.
110 * Constant for Asvina, the 7th month of the Indian year.
116 * Constant for Kartika, the 8th month of the Indian year.
122 * Constant for Agrahayana, the 9th month of the Indian year.
528 int year, month, day; local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
DatePickerTest.java 237 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER);
241 calendar.get(Calendar.MONTH),
249 assertEquals(calendar.get(Calendar.MONTH), calendarFromSpinner.get(Calendar.MONTH));
346 assertEquals(Calendar.JANUARY, calendar.get(Calendar.MONTH));
350 private void assertValues(DatePicker datePicker, int year, int month, int dayOfMonth) {
352 assertEquals(month, datePicker.getMonth());
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
HolidayTest.java 153 // Stash away a Date for the start of this month
155 // Find the day of week of the first day in this month
159 // Now find the # of days in the month
163 // Finally, find the end of the month, i.e. the start of the next one
165 c.add(Calendar.MONTH, 1);
171 // Calculate the number of full or partial weeks in this month.
177 // Remember which holidays fall on which days in this month,
192 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth);
218 int month = fCalendar.get(Calendar.MONTH); local
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
CalendarTest.java 168 assertEquals(0, cal.get(Calendar.MONTH));
216 assertEquals(0, cal.get(Calendar.MONTH));
282 assertEquals(11, cal.getActualMaximum(Calendar.MONTH));
290 assertEquals(0, cal.getActualMinimum(Calendar.MONTH));
321 assertEquals(2, cal.get(Calendar.MONTH));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
HolidayTest.java 152 // Stash away a Date for the start of this month
154 // Find the day of week of the first day in this month
158 // Now find the # of days in the month
162 // Finally, find the end of the month, i.e. the start of the next one
164 c.add(Calendar.MONTH, 1);
170 // Calculate the number of full or partial weeks in this month.
176 // Remember which holidays fall on which days in this month,
191 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth);
217 int month = fCalendar.get(Calendar.MONTH); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
Alarm.java 79 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + ClockContract.InstancesColumns.MONTH,
397 previousInstanceTime.set(Calendar.MONTH, currentTime.get(Calendar.MONTH));
416 nextInstanceTime.set(Calendar.MONTH, currentTime.get(Calendar.MONTH));
ClockProvider.java 85 sAlarmsWithInstancesProjection.put(INSTANCES_TABLE_NAME + "." + InstancesColumns.MONTH,
86 INSTANCES_TABLE_NAME + "." + InstancesColumns.MONTH);
111 InstancesColumns.YEAR + ", " + InstancesColumns.MONTH + ", " +
AlarmInstance.java 61 MONTH,
97 values.put(MONTH, instance.mMonth);
374 mMonth = calendar.get(Calendar.MONTH);
388 calendar.set(Calendar.MONTH, mMonth);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneBoundaryTest.java 205 showNN(cal.get(Calendar.MONTH) + 1) + "/" +
224 showNN(cal.get(Calendar.MONTH) + 1) + "/" +
268 int offset = time_zone.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH),
279 ", month=" + cal.get(Calendar.MONTH) +
293 * Check that the given year/month/dom/hour maps to and from the
301 void verifyMapping(Calendar cal, int year, int month, int dom, int hour,
305 cal.set(year, month, dom, hour, 0, 0);
310 logln("Ok: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
313 errln("FAIL: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => "
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneBoundaryTest.java 204 showNN(cal.get(Calendar.MONTH) + 1) + "/" +
223 showNN(cal.get(Calendar.MONTH) + 1) + "/" +
267 int offset = time_zone.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH),
278 ", month=" + cal.get(Calendar.MONTH) +
292 * Check that the given year/month/dom/hour maps to and from the
300 void verifyMapping(Calendar cal, int year, int month, int dom, int hour,
304 cal.set(year, month, dom, hour, 0, 0);
309 logln("Ok: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " +
312 errln("FAIL: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => "
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerDialog.java 62 private static final String KEY_SELECTED_MONTH = "month";
121 * @param monthOfYear The month that was set (0-11) for compatibility
123 * @param dayOfMonth The day of the month that was set.
144 * @param monthOfYear The initial month of the dialog.
158 mCalendar.set(Calendar.MONTH, monthOfYear);
170 mCalendar.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH));
179 outState.putInt(KEY_SELECTED_MONTH, mCalendar.get(Calendar.MONTH));
254 mCalendar.get(Calendar.MONTH), mCalendar.get(Calendar.DAY_OF_MONTH));
340 mSelectedMonthTextView.setText(mCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT,
384 * @param calendar a Calendar object set to the year, month, day desired as the mindate
    [all...]
  /libcore/ojluni/src/main/java/java/util/
JapaneseImperialCalendar.java 142 * MONTH 0 0 11 11
163 JANUARY, // MONTH
182 JANUARY, // MONTH (Showa 64 ended in January.)
201 DECEMBER, // MONTH
403 set(MONTH, d.getMonth() - 1);
405 } else if (field == MONTH) {
411 set(MONTH, d.getMonth() - 1);
583 internalGet(MONTH) + 1,
613 case MONTH:
614 // Rolling the month involves both pinning the final value to [0, 11
1627 int month = jdate.getMonth() - 1; \/\/ 0-based local
1971 int month = JANUARY; local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
EventFieldEditorView.java 182 calendar.set(defaultYear, calendar.get(Calendar.MONTH),
213 oldMonth = calendar.get(Calendar.MONTH);
225 oldMonth = cal.get(Calendar.MONTH);
  /cts/tests/autofillservice/src/android/autofillservice/cts/
DatePickerTestCase.java 60 cal.set(Calendar.MONTH, 11);
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 64 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based.
181 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
204 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY);
207 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY);
310 assertTrue(locale.toString() + " month not found", seenMonth);
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/
TimePickerFragment.java 81 .saveAlarm(alarmTime.get(Calendar.MONTH), alarmTime.get(Calendar.DATE),
  /developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/
TimePickerFragment.java 81 .saveAlarm(alarmTime.get(Calendar.MONTH), alarmTime.get(Calendar.DATE),
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/
TimePickerFragment.java 81 .saveAlarm(alarmTime.get(Calendar.MONTH), alarmTime.get(Calendar.DATE),
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DebugUtilitiesData.java 44 "MONTH", /* 2 */
125 android.icu.util.Calendar.MONTH, /* 2 */
  /frameworks/base/core/java/android/webkit/
DateSorter.java 32 * one month ago
33 * older than a month ago
64 c.add(Calendar.MONTH, -1);
65 mBins[3] = c.getTimeInMillis(); // One month ago
  /frameworks/base/core/java/android/widget/
CalendarViewMaterialDelegate.java 137 final int month = day.get(Calendar.MONTH);
139 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
  /libcore/luni/src/test/java/libcore/java/util/
OldGregorianCalendarTest.java 62 assertEquals(Calendar.SEPTEMBER, g.get(Calendar.MONTH));
  /external/icu/android_icu4j/src/main/java/android/icu/text/
RelativeDateTimeFormatter.java 200 * Month
202 MONTH,
278 * Specifies that relative unit is month, e.g. "last month",
282 MONTH,
452 * @param unit the unit e.g day? month? year?
505 case MONTH: relunit = RelativeUnit.MONTHS; break;
530 * @param unit e.g SATURDAY, DAY, MONTH
599 case MONTH: absunit = AbsoluteUnit.MONTH; break
    [all...]

Completed in 2660 milliseconds

1 2 3 45 6 7 8 91011>>