HomeSort by relevance Sort by last modified time
    Searched refs:MONTH (Results 151 - 175 of 327) sorted by null

1 2 3 4 5 67 8 91011>>

  /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...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java 82 sAlarmsWithInstancesProjection.put(INSTANCES_TABLE_NAME + "." + InstancesColumns.MONTH,
83 INSTANCES_TABLE_NAME + "." + InstancesColumns.MONTH);
  /packages/apps/Settings/src/com/android/settings/
DateTimeSettingsSetupWizard.java 241 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH),
314 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH),
DateTimeSettings.java 169 public void onDateSet(DatePicker view, int year, int month, int day) {
172 setDate(activity, year, month, day);
216 calendar.get(Calendar.MONTH),
252 calendar.get(Calendar.MONTH),
318 /* package */ static void setDate(Context context, int year, int month, int day) {
322 c.set(Calendar.MONTH, month);
  /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.
681 selectedDay.get(Calendar.MONTH),
756 * in range it will move the list so that the first of the month containing
794 // and if so scroll to the month that contains it
833 * Updates the title and selected month if the <code>view</code> has moved to a new
834 * month.
856 // Use some hysteresis for checking which month to highlight. Thi
    [all...]
DayPickerView.java 134 // Proxy the month text color into the previous and next buttons.
232 // Vertically center the previous/next buttons within the month
287 * Moves to the month containing the specified day, optionally setting the
362 return end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
  /libcore/ojluni/src/main/java/java/text/
SimpleDateFormat.java 118 * <td>Month in year
119 * <td><a href="#month">Month</a>
128 * <td>Week in month
138 * <td>Day in month
143 * <td>Day of week in month
268 * <li><strong><a name="month">Month:</a></strong>
269 * If the number of pattern letters is 3 or more, the month is
478 * The symbols used by this formatter for week names, month names
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
IBMCalendarTest.java 157 * { era, year, gregorianYear, month, dayOfMonth, ... }
169 int month = data[i++]; local
173 grego.set(gregorianYear, month, dayOfMonth);
178 cal.set(year, month, dayOfMonth);
181 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
184 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
195 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE));
199 (cal.get(Calendar.MONTH)+1) + "/" + cal.get(Calendar.DATE) +
200 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
268 // new BuddhistCalendar(int year, int month, int date
659 int month; field in class:IBMCalendarTest.TestData
1151 private int month; field in class:IBMCalendarTest.CalFields
1208 int month = cal.get(Calendar.MONTH) + 1; local
    [all...]
AstroTest.java 40 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians)
93 // year, month, day, hour, minute, ascension(radians), declination(radians)
247 cal.set(Calendar.MONTH, Calendar.APRIL);
314 // cal.set(cal.MONTH, cal.MARCH);
317 // cal.set(cal.MONTH, cal.JULY);
330 cal3.set(Calendar.MONTH, Calendar.JULY);
345 // cal3.set(cal3.MONTH, Calendar.JANUARY);
373 String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+
JapaneseTest.java 84 // new JapaneseCalendar(int year, int month, int date)
87 errln("could not create JapaneseCalendar with year,month,date");
92 // new JapaneseCalendar(int era, int year, int month, int date)
95 errln("could not create JapaneseCalendar with era,year,month,date");
100 // new JapaneseCalendar(int year, int month, int date, int hour, int minute, int second)
103 errln("could not create JapaneseCalendar with year,month,date,hour,min,second");
258 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH",
300 logln("test setting era and year and month and date");
304 c.set(Calendar.MONTH, Calendar.JANUARY);
312 logln("test setting year and month and date THEN era")
    [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) + "/" +
264 // new BuddhistCalendar(int year, int month, int date
655 int month; field in class:IBMCalendarTest.TestData
1147 private int month; field in class:IBMCalendarTest.CalFields
1204 int month = cal.get(Calendar.MONTH) + 1; local
    [all...]
AstroTest.java 36 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians)
89 // year, month, day, hour, minute, ascension(radians), declination(radians)
243 cal.set(Calendar.MONTH, Calendar.APRIL);
310 // cal.set(cal.MONTH, cal.MARCH);
313 // cal.set(cal.MONTH, cal.JULY);
326 cal3.set(Calendar.MONTH, Calendar.JULY);
341 // cal3.set(cal3.MONTH, Calendar.JANUARY);
369 String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+
JapaneseTest.java 80 // new JapaneseCalendar(int year, int month, int date)
83 errln("could not create JapaneseCalendar with year,month,date");
88 // new JapaneseCalendar(int era, int year, int month, int date)
91 errln("could not create JapaneseCalendar with era,year,month,date");
96 // new JapaneseCalendar(int year, int month, int date, int hour, int minute, int second)
99 errln("could not create JapaneseCalendar with year,month,date,hour,min,second");
254 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH",
296 logln("test setting era and year and month and date");
300 c.set(Calendar.MONTH, Calendar.JANUARY);
308 logln("test setting year and month and date THEN era")
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DateFormat.java 156 * corresponding to the {@link Calendar#MONTH} field.
343 * corresponding to the {@link Calendar#MONTH} field.
344 * This displays the stand alone month name, if available.
351 * corresponding to the {@link Calendar#MONTH} field.
359 * corresponding to the {@link Calendar#MONTH} field.
699 * {@icu} Constant for date skeleton with month.
702 public static final String MONTH = "MMMM";
705 * {@icu} Constant for date skeleton with abbreviated month.
711 * {@icu} Constant for date skeleton with numeric month.
717 * {@icu} Constant for date skeleton with year and month
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
IslamicCalendar.java 34 * Each month of the calendar starts when the new moon's crescent is visible
42 * and 30-day months, with a leap day added to the last month of 11 out of
54 * start of a month in the religious calendar to differ from the civil calendar
59 * of a lunar month with a fairly high degree of certainty. However, these
92 * Constant for Muharram, the 1st month of the Islamic year.
97 * Constant for Safar, the 2nd month of the Islamic year.
102 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year.
107 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year.
112 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year.
117 * Constant for Jumada al-thani or (Jumada II), the 6th month of the Islamic year.
742 int month = 12*(extendedYear-1); local
799 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
IslamicCalendar.java 33 * Each month of the calendar starts when the new moon's crescent is visible
41 * and 30-day months, with a leap day added to the last month of 11 out of
53 * start of a month in the religious calendar to differ from the civil calendar
58 * of a lunar month with a fairly high degree of certainty. However, these
92 * Constant for Muharram, the 1st month of the Islamic year.
98 * 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.
110 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year.
116 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year.
122 * Constant for Jumada al-thani or (Jumada II), the 6th month of the Islamic year.
767 int month = 12*(extendedYear-1); local
827 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
TimeUnitFormat.java 39 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported
379 } else if (timeUnitName.equals("month")) {
380 timeUnit = TimeUnit.MONTH;
515 } else if (timeUnit == TimeUnit.MONTH) {
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
CalendarFrame.java 126 // plus the month/year label for each calendar
136 // Label for the current month name
147 // Now add the next/previous year/month buttons:
152 prevMonth.addActionListener(new AddAction(Calendar.MONTH, -1));
164 nextMonth.addActionListener(new AddAction(Calendar.MONTH, 1));
326 * AddAction handles the next/previous year/month buttons...
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
TimeUnitFormat.java 38 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported
377 } else if (timeUnitName.equals("month")) {
378 timeUnit = TimeUnit.MONTH;
513 } else if (timeUnit == TimeUnit.MONTH) {
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
SimpleDateFormatICU.java 341 } else if (icuAttribute == DateFormat.Field.MONTH) {
342 jdkAttribute = java.text.DateFormat.Field.MONTH;
  /frameworks/base/core/java/android/text/format/
DateUtils.java 106 * This is not actually a useful month name in all locales.
220 * Return a localized string for the month of the year.
221 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY},
227 * @return Localized month of the year.
231 public static String getMonthString(int month, int abbrev) {
242 return names[month];
455 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH)
472 int thenMonth = time.month;
477 && (thenMonth == time.month)
    [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...]
  /libcore/luni/src/test/java/libcore/java/util/
GregorianCalendarTest.java 121 assertEquals(Calendar.DECEMBER, gc.get(Calendar.MONTH));
142 assertEquals(Calendar.JANUARY, gc.get(Calendar.MONTH));
391 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
393 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds);
  /packages/apps/Calendar/src/com/android/calendar/
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...]
  /developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/
AlarmAdapter.java 73 alarmTime.set(Calendar.MONTH, alarm.month);

Completed in 471 milliseconds

1 2 3 4 5 67 8 91011>>