/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CalendarICU.java | 148 if (field == MONTH || field == DAY_OF_WEEK) { 238 //public void set(int year, int month, int date) 239 //public void set(int year, int month, int date, int hourOfDay, int minute) 240 //public void set(int year, int month, int date, int hourOfDay, int minute, int second) 316 case 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...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
Calendar.java | 39 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 73 * as well as their meaning. For example, the first month of the year has value 74 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values 81 * <code>GregorianCalendar</code> interprets <code>MONTH</code> == 87 * values between 1 and the length of the month. 97 * first week of the month or year as a reference point. The first week of a 98 * month or year is defined as the earliest seven day period beginning on 100 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 109 * <code>Date</code> (such as only year and month but no day in the month), 4917 int year, month, dayOfMonth, dayOfYear; local 5810 int month = useMonth ? internalGet(MONTH, getDefaultMonthInYear(year)) : 0; local [all...] |
EasterHoliday.java | 226 * Compute the month and date on which this holiday falls in the year 261 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 262 int d = l + 28 - 31*(m/4); // Date of Easter within that month 267 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 | 162 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 167 public JapaneseCalendar(int era, int year, int month, int date) { 168 super(year, month, date); 180 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 185 public JapaneseCalendar(int year, int month, int date) { 186 super(year, month, date) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/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), 5082 int year, month, dayOfMonth, dayOfYear; local 5994 int month = useMonth ? internalGet(MONTH, getDefaultMonthInYear(year)) : 0; local [all...] |
EasterHoliday.java | 240 * Compute the month and date on which this holiday falls in the year 275 int m = 3 + (l+40)/44; // 1-based month in which Easter falls 276 int d = l + 28 - 31*(m/4); // Date of Easter within that month 281 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 | 169 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 175 public JapaneseCalendar(int era, int year, int month, int date) { 176 super(year, month, date); 188 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 194 public JapaneseCalendar(int year, int month, int date) { 195 super(year, month, date) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
JapaneseTest.java | 88 // new JapaneseCalendar(int year, int month, int date) 91 errln("could not create JapaneseCalendar with year,month,date"); 96 // new JapaneseCalendar(int era, int year, int month, int date) 99 errln("could not create JapaneseCalendar with era,year,month,date"); 104 // new JapaneseCalendar(int year, int month, int date, int hour, int minute, int second) 107 errln("could not create JapaneseCalendar with year,month,date,hour,min,second"); 264 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 307 logln("test setting era and year and month and date"); 311 c.set(Calendar.MONTH, Calendar.JANUARY); 319 logln("test setting year and month and date THEN era") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
JapaneseTest.java | 85 // new JapaneseCalendar(int year, int month, int date) 88 errln("could not create JapaneseCalendar with year,month,date"); 93 // new JapaneseCalendar(int era, int year, int month, int date) 96 errln("could not create JapaneseCalendar with era,year,month,date"); 101 // new JapaneseCalendar(int year, int month, int date, int hour, int minute, int second) 104 errln("could not create JapaneseCalendar with year,month,date,hour,min,second"); 261 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 304 logln("test setting era and year and month and date"); 308 c.set(Calendar.MONTH, Calendar.JANUARY); 316 logln("test setting year and month and date THEN era") [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
CustomDescriptionDateTest.java | 121 cal.set(Calendar.MONTH, Calendar.DECEMBER);
|
/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");
|
/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.
|