/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 112 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { 116 calendar.set(Calendar.MONTH, month); 200 * determine whether the month field should be displayed before the day field, and returns 243 final int targetMonth = target.get(Calendar.MONTH);
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
DateUtils.java | 111 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { 115 calendar.set(Calendar.MONTH, month); 197 * whether the month field should be displayed before the day field, and returns either "MMMM dd" 239 final int targetMonth = target.get(Calendar.MONTH);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
HolidayCalendarDemo.java | 189 // Label for the current month name 255 // The month name and the control buttons are bunched together 354 calendarPanel.add(Calendar.MONTH, +1); 358 calendarPanel.add(Calendar.MONTH, -1); 494 int month = fCalendar.get(Calendar.MONTH); local 499 fCalendar.set(Calendar.MONTH, month); 518 // Stash away a Date for the start of this month 520 // Find the day of week of the first day in this month [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 52 * A calendar-like view displaying a specified month and the appropriate selectable day numbers 53 * within the specified month. 71 public static final String VIEW_PARAMS_MONTH = "month"; 93 * Which month is currently in focus, as defined by {@link Time#month} 98 * If this month should display week numbers. false if 0, true otherwise. 143 // The month of the first day in this week 145 // The month of the last day in this week 334 * will only update if a new value is included, except for focus month, 335 * which will always default to no focus month if no value is passed in. Se [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimeTextProvider.java | 185 fieldIndex = Calendar.MONTH; 257 fieldIndex = Calendar.MONTH; 290 case Calendar.MONTH: 354 "gregory", Calendar.MONTH, textStyle.toCalendarStyle(), locale); 364 for (int month = Calendar.JANUARY; month <= Calendar.DECEMBER; month++) { 367 "gregory", Calendar.MONTH, month, textStyle.toCalendarStyle(), locale); 371 map.put((long) (month + 1), name) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
Calendar.java | 38 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 72 * as well as their meaning. For example, the first month of the year has value 73 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values 80 * <code>GregorianCalendar</code> interprets <code>MONTH</code> == 86 * values between 1 and the length of the month. 96 * first week of the month or year as a reference point. The first week of a 97 * month or year is defined as the earliest seven day period beginning on 99 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 108 * <code>Date</code> (such as only year and month but no day in the month), 4944 int year, month, dayOfMonth, dayOfYear; local 5728 int month = useMonth ? internalGet(MONTH, getDefaultMonthInYear(year)) : 0; local [all...] |
EasterHoliday.java | 227 * Compute the month and date on which this holiday falls in the year 262 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 263 int d = l + 28 - 31*(m/4); // Date of Easter within that month 268 cal.set(Calendar.MONTH, m-1); // 0-based
|
EthiopicCalendar.java | 34 * Constant for ?????, the 1st month of the Ethiopic year. 39 * Constant for ????, the 2nd month of the Ethiopic year. 44 * Constant for ???, the 3rd month of the Ethiopic year. 49 * Constant for ????, the 4th month of the Ethiopic year. 54 * Constant for ??, the 5th month of the Ethiopic year. 59 * Constant for ????, the 6th month of the Ethiopic year. 64 * Constant for ????, the 7th month of the Ethiopic year. 69 * Constant for ????, the 8th month of the Ethiopic year. 74 * Constant for ????, the 9th month of the Ethiopic year. 79 * Constant for ??, the 10th month of the Ethiopic year. [all...] |
JapaneseCalendar.java | 144 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 149 public JapaneseCalendar(int era, int year, int month, int date) { 150 super(year, month, date); 162 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 167 public JapaneseCalendar(int year, int month, int date) { 168 super(year, month, date) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
Calendar.java | 37 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 71 * as well as their meaning. For example, the first month of the year has value 72 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values 79 * <code>GregorianCalendar</code> interprets <code>MONTH</code> == 85 * values between 1 and the length of the month. 95 * first week of the month or year as a reference point. The first week of a 96 * month or year is defined as the earliest seven day period beginning on 98 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 107 * <code>Date</code> (such as only year and month but no day in the month), 5106 int year, month, dayOfMonth, dayOfYear; local 5905 int month = useMonth ? internalGet(MONTH, getDefaultMonthInYear(year)) : 0; local [all...] |
EasterHoliday.java | 241 * Compute the month and date on which this holiday falls in the year 276 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 277 int d = l + 28 - 31*(m/4); // Date of Easter within that month 282 cal.set(Calendar.MONTH, m-1); // 0-based
|
EthiopicCalendar.java | 34 * Constant for ?????, the 1st month of the Ethiopic year. 40 * Constant for ????, the 2nd month of the Ethiopic year. 46 * Constant for ???, the 3rd month of the Ethiopic year. 52 * Constant for ????, the 4th month of the Ethiopic year. 58 * Constant for ??, the 5th month of the Ethiopic year. 64 * Constant for ????, the 6th month of the Ethiopic year. 70 * Constant for ????, the 7th month of the Ethiopic year. 76 * Constant for ????, the 8th month of the Ethiopic year. 82 * Constant for ????, the 9th month of the Ethiopic year. 88 * Constant for ??, the 10th month of the Ethiopic year. [all...] |
JapaneseCalendar.java | 151 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 157 public JapaneseCalendar(int era, int year, int month, int date) { 158 super(year, month, date); 170 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 176 public JapaneseCalendar(int year, int month, int date) { 177 super(year, month, date) [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...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 152 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 157 calendar.set(year, month, day, hour, minute); 159 assertEquals(month, calendar.get(Calendar.MONTH)); 216 int year, int month, int day, int hour, int minute) { 218 assertEquals("month", month, calendar.get(Calendar.MONTH)); 247 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 72 import com.android.calendar.month.MonthByWeekFragment; 487 case ViewType.MONTH: 726 // or the view type is "Month" or "Agenda". 735 && (mController.getViewType() == ViewType.MONTH || 746 // custom drawable that shows the day of the month of today [all...] |
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 66 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 68 alarm.month, alarm.date)); 103 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 108 return new Alarm(id, month, date, hour, minute); 114 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 66 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 68 alarm.month, alarm.date)); 103 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 108 return new Alarm(id, month, date, hour, minute); 114 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 72 mMonth = c.get(Calendar.MONTH); 120 // Month is 0 based so add 1
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmUtil.java | 55 alarmTime.set(Calendar.MONTH, alarm.month); 65 String.format("Alarm scheduled at (%2d:%02d) Date: %d, Month: %d", 67 alarm.month, alarm.date)); 102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); local 107 return new Alarm(id, month, date, hour, minute); 113 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
BasicDurationFormat.java | 105 TimeUnit.MONTH,
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 101 // Set Date Time internal pattern for MONTH, DAY_OF_MONTH, HOUR_OF_DAY 102 dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "y 'Diff' MMM d --- MMM d");
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
BasicDurationFormat.java | 103 TimeUnit.MONTH,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DebugUtilitiesData.java | 43 "MONTH", /* 2 */ 124 com.ibm.icu.util.Calendar.MONTH, /* 2 */
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 100 // Set Date Time internal pattern for MONTH, DAY_OF_MONTH, HOUR_OF_DAY 101 dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "y 'Diff' MMM d --- MMM d");
|