Home
last modified time | relevance | path

Searched refs:MONTH (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper()
76 return mCalendar.get(Calendar.MONTH); in getMonth()
164 mCalendar.add(Calendar.MONTH, -1); in previousMonth()
172 mCalendar.add(Calendar.MONTH, 1); in nextMonth()
202 mCalendar.add(Calendar.MONTH, -1); in recalculate()
204 mCalendar.add(Calendar.MONTH, 1); in recalculate()
/frameworks/base/core/java/android/widget/
DDatePicker.java188 mTempDate.add(Calendar.MONTH, 1); in DatePicker()
190 mTempDate.add(Calendar.MONTH, -1); in DatePicker()
192 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePicker()
200 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), in DatePicker()
275 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate in DatePicker()
463 mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1; in setCurrentLocale()
503 case DateFormat.MONTH: in reorderSpinners()
591 || mCurrentDate.get(Calendar.MONTH) != dayOfMonth in isNewDate()
611 mMonthSpinner.setMinValue(mCurrentDate.get(Calendar.MONTH)); in updateSpinners()
612 mMonthSpinner.setMaxValue(mCurrentDate.getActualMaximum(Calendar.MONTH)); in updateSpinners()
[all …]
DCalendarView.java707 selectedDay.get(Calendar.MONTH), in setUpAdapter()
945 mCurrentMonthDisplayed = calendar.get(Calendar.MONTH); in setMonthDisplayed()
1063 mFocusedMonth = mSelectedDate.get(Calendar.MONTH); in setSelectedDay()
1268 mMonthOfFirstWeekDay = mTempDate.get(Calendar.MONTH); in init()
1271 mFocusDay[i] = (mTempDate.get(Calendar.MONTH) == focusedMonth); in init()
1285 mLastWeekDayMonth = mTempDate.get(Calendar.MONTH); in init()
/frameworks/base/core/java/android/app/
DDatePickerDialog.java40 private static final String MONTH = "month"; field in DatePickerDialog
144 state.putInt(MONTH, mDatePicker.getMonth()); in onSaveInstanceState()
153 int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState()
/frameworks/base/core/java/android/text/format/
DDateFormat.java163 public static final char MONTH = 'M'; field in DateFormat
363 char[] order = new char[] {DATE, MONTH, YEAR}; in getDateFormatOrder()
377 if (!foundMonth && (c == MONTH)) { in getDateFormatOrder()
379 order[index] = MONTH; in getDateFormatOrder()
496 case MONTH: in format()
531 int month = inDate.get(Calendar.MONTH); in getMonthString()
DTime.java124 public static final int MONTH = 5; field in Time
242 case MONTH: in getActualMaximum()
DDateUtils.java809 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) in formatSameDayTime()
927 n = cal.get(Calendar.MONTH) + 1; in writeDateTime()
/frameworks/base/core/java/android/webkit/
DDateSorter.java62 c.add(Calendar.MONTH, -1); in DateSorter()
/frameworks/opt/calendar/src/com/android/calendarcommon/
DRecurrenceProcessor.java798 freqField = Time.MONTH; in expand()
823 if (freqField == Time.MONTH) { in expand()
1066 case Time.MONTH: in expand()
1083 if (freqField != Time.YEAR && freqField != Time.MONTH) { in expand()
/frameworks/base/services/java/com/android/server/
DThrottleService.java717 int month = end.get(Calendar.MONTH); in calculatePeriodEnd()
722 end.set(Calendar.MONTH, month + 1); in calculatePeriodEnd()
735 int month = end.get(Calendar.MONTH); in calculatePeriodStart()
736 if (end.get(Calendar.MONTH) == Calendar.JANUARY) { in calculatePeriodStart()
740 start.set(Calendar.MONTH, month - 1); in calculatePeriodStart()
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DResponseData.java226 data[2] = byteToBCD(calendar.get(java.util.Calendar.MONTH) + 1); in format()
/frameworks/base/obex/javax/obex/
DObexHelper.java247 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( in updateHeaderSet()
438 temp = dateHeader.get(Calendar.MONTH); in createHeader()
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-datepicker.jd68 mMonth = c.get(Calendar.MONTH);
/frameworks/base/docs/html/resources/tutorials/views/
Dhello-datepicker.jd73 mMonth = c.get(Calendar.MONTH);
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java291 int mm = mCal.get(Calendar.MONTH) - Calendar.JANUARY +1; in getCurrentDateStr()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java1317 c.set(Calendar.MONTH, month); in setTimeFromNITZString()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java1249 c.set(Calendar.MONTH, month); in setTimeFromNITZString()
/frameworks/base/api/
Dcurrent.txt20373 field public static final char MONTH = 77; // 0x004d 'M'
20487 field public static final int MONTH = 5; // 0x5
35509 field public static final java.text.DateFormat.Field MONTH;
36130 field public static final int MONTH = 2; // 0x2
D14.txt20373 field public static final char MONTH = 77; // 0x004d 'M'
20487 field public static final int MONTH = 5; // 0x5
35509 field public static final java.text.DateFormat.Field MONTH;
36130 field public static final int MONTH = 2; // 0x2