/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...] |
MonthAdapter.java | 54 int month; field in class:MonthAdapter.CalendarDay 67 month = calendar.get(Calendar.MONTH); 71 public CalendarDay(int year, int month, int day) { 72 setDay(year, month, day); 77 month = date.month; 81 public void setDay(int year, int month, int day) { 83 this.month = month; 191 final int month = position % MONTHS_IN_YEAR; local [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 1623 int month = jdate.getMonth() - 1; \/\/ 0-based local 1963 int month = JANUARY; local [all...] |
Calendar.java | 60 * #fields calendar fields} such as <code>YEAR</code>, <code>MONTH</code>, 88 * the first month of the calendar system has value <code>MONTH == 110 * <code>GregorianCalendar</code> interprets <code>MONTH == JANUARY</code>, 116 * <code>DAY_OF_MONTH</code> values between 1 and the length of the month. A 131 * first week of the month or year as a reference point. The first week of a 132 * month or year is defined as the earliest seven day period beginning on 134 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 145 * year and month with no day of month), or there may be inconsisten [all...] |
/frameworks/base/core/java/android/widget/ |
DatePickerCalendarDelegate.java | 46 * A delegate for picking up a date (day / month / year). 126 // color from the header month text appearance. If it's set, we'll let 250 // If the newly selected month / year does not contain the 252 // to the last day of the selected month or year. 256 final int month = mCurrentDate.get(Calendar.MONTH); 257 final int daysInMonth = getDaysInMonth(month, year); 374 mCurrentDate.set(Calendar.MONTH, monthOfYear); 383 public void updateDate(int year, int month, int dayOfMonth) { 385 mCurrentDate.set(Calendar.MONTH, month) 537 final int month = mCurrentDate.get(Calendar.MONTH); local [all...] |
CalendarViewMaterialDelegate.java | 137 final int month = day.get(Calendar.MONTH); 139 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
|
/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 | 62 cal.set(Calendar.MONTH, 11);
|
/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
|
/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...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
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/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 148 if (field == MONTH || field == DAY_OF_WEEK) { 233 //public void set(int year, int month, int date) 234 //public void set(int year, int month, int date, int hourOfDay, int minute) 235 //public void set(int year, int month, int date, int hourOfDay, int minute, int second) 311 case MONTH:
|
/libcore/ojluni/src/main/java/java/text/ |
DateFormat.java | 181 * Useful constant for MONTH field alignment. [all...] |