/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmAdapter.java | 73 alarmTime.set(Calendar.MONTH, alarm.month);
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmAdapter.java | 73 alarmTime.set(Calendar.MONTH, alarm.month);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateFormat.java | 51 * combinations of fields, like Month and Year, but have it to be formatted appropriate to a given locale. This is done 175 * corresponding to the {@link Calendar#MONTH} field. 345 * corresponding to the {@link Calendar#MONTH} field. 346 * This displays the stand alone month name, if available. 352 * corresponding to the {@link Calendar#MONTH} field. 359 * corresponding to the {@link Calendar#MONTH} field. 453 * e.g. accepting "September" for a month pattern of MMM ("Sep") [all...] |
RelativeDateTimeFormatter.java | 198 * Month 200 MONTH, 351 * @param unit the unit e.g day? month? year? 385 * @param unit e.g SATURDAY, DAY, MONTH 639 MONTH(RelativeUnit.MONTHS, AbsoluteUnit.MONTH), 690 if ("month".contentEquals(keyword)) { 691 return MONTH; [all...] |
DateIntervalInfo.java | 75 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and 79 * year > month > date > am-pm > hour > minute > second 95 * If the largest different calendar field between date1 and date2 is "month", 101 * For date skeleton, the interval patterns when year, or month, or date is 139 * calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, 466 } else if ( key.equals(CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.MONTH])) { 467 calendarField = Calendar.MONTH; 590 * dIntervalInfo.setIntervalPattern("yMMMd", Calendar.MONTH, "'from' yyyy MMM d 'to' MMM d"); 597 * calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateFormat.java | 50 * combinations of fields, like Month and Year, but have it to be formatted appropriate to a given locale. This is done 179 * corresponding to the {@link Calendar#MONTH} field. 374 * corresponding to the {@link Calendar#MONTH} field. 375 * This displays the stand alone month name, if available. 382 * corresponding to the {@link Calendar#MONTH} field. 390 * corresponding to the {@link Calendar#MONTH} field. 495 * e.g. accepting "September" for a month pattern of MMM ("Sep") [all...] |
RelativeDateTimeFormatter.java | 221 * Month 224 MONTH, 390 * @param unit the unit e.g day? month? year? 425 * @param unit e.g SATURDAY, DAY, MONTH 686 MONTH(RelativeUnit.MONTHS, AbsoluteUnit.MONTH), 737 if ("month".contentEquals(keyword)) { 738 return MONTH; [all...] |
DateIntervalInfo.java | 74 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and 78 * year > month > date > am-pm > hour > minute > second 94 * If the largest different calendar field between date1 and date2 is "month", 100 * For date skeleton, the interval patterns when year, or month, or date is 138 * calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, 475 } else if ( key.equals(CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.MONTH])) { 476 calendarField = Calendar.MONTH; 599 * dIntervalInfo.setIntervalPattern("yMMMd", Calendar.MONTH, "'from' yyyy MMM d 'to' MMM d"); 606 * calendar fields are different: ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
RolloverFileOutputStream.java | 180 now.get(Calendar.MONTH),
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Chapter2_4Test.java | 92 cal.set(Calendar.MONTH, 11); // Java's months are zero-based...
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 204 iterator.month + 1); 321 * Compute the day of the week for the first day of the month. "instance" has a 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 349 // For each month day, see if it's part of the set. (This makes some assumptions 433 int realMonth = iterator.month; 439 + " " + iterator.month 444 // if might be past the end of the month, we need to normalize it 449 realMonth = t.month; 452 Log.i(TAG, "normalized t=" + t + " " + t.month 892 int month = usebymonth local 1143 int month = date.month; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 239 // Fill month byte 240 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 90 ClockContract.InstancesColumns.MONTH + " INTEGER NOT NULL, " +
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 36 private void testParseDateTimesHelper(String date, int year, int month, 40 assertEquals(month, cal.get(Calendar.MONTH) + 1); 59 private void testParseEmailDateTimeHelper(String date, int year, int month, 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SetDateTimeActivity.java | 61 String month = result.get(mIndex); local 68 if (months[i].equals(month)) { 153 public static void setDate(Context context, int year, int month, int day) { 157 c.set(Calendar.MONTH, month);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
DatePicker.java | 59 * of the fields Year, Month and Day to be displayed in the DatePicker. 69 * of the fields Year, Month and Day to be displayed in the DatePicker. 134 mInitMonth = cal.get(Calendar.MONTH); 173 protected boolean setDate(int year, int month, int day) { 180 GregorianCalendar cal = new GregorianCalendar(year, month, day); 188 mSelectedMonth = month; 189 updateDayStrings(year, month); 192 updateSelection(mColMonthIndex, month); 211 private void updateDayStrings(int year, int month) { 214 final GregorianCalendar calendar = new GregorianCalendar(year, month, 1) [all...] |
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/ |
BluetoothMapMessagesListing.java | 180 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarCalc.java | 92 new RollAddField(Calendar.MONTH, "Month" ), 93 new RollAddField(Calendar.WEEK_OF_MONTH, "Week of Month" ), 95 new RollAddField(Calendar.DAY_OF_MONTH, "Day of Month" ), 97 new RollAddField(Calendar.DAY_OF_WEEK_IN_MONTH, "Day of Week in Month" ), 237 if (kRollAddFields[i].field == Calendar.MONTH) {
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 326 calendar.set(Calendar.MONTH, Integer.parseInt(month_s) - 1); // x 362 calendar.set(Calendar.MONTH, Integer.parseInt(month_s) - 1);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
SafeRepresenter.java | 335 int months = calendar.get(Calendar.MONTH) + 1; // 0..12 386 calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 97 * Day of month [1-31] 102 * Month [0-11] 104 public int month; field in class:Time 149 public static final int MONTH = 5; 269 int n = DAYS_PER_MONTH[this.month]; 277 case MONTH: 310 this.month = 0; 438 // month 442 month = n; 444 // day of month [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 357 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { 375 calc += mlen[month] * MILLISECONDS_PER_DAY; 689 private int month; field in class:ZoneInfo.WallTime [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 183 mCallDateMonth = c.get(Calendar.MONTH); 518 public void onDateSet(DatePicker view, int year, int month, int day) { 520 mCallDateMonth = month; 555 mCallDateMonth = dateTime.get(Calendar.MONTH);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
DisplayNameTest.java | 59 cal.set(Calendar.MONTH, Calendar.JULY);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DisplayNameTest.java | 55 cal.set(Calendar.MONTH, Calendar.JULY);
|