Lines Matching refs:MONTH
57 * set to {@code spinner}, the date can be selected using year, month, and day
64 * set to {@code calendar}, the month and day can be selected using a
111 * @param monthOfYear The month that was set (0-11) for compatibility
113 * @param dayOfMonth The day of the month that was set.
170 * @param monthOfYear The initial month <strong>starting from zero</strong>.
171 * @param dayOfMonth The initial day of the month.
184 * @param month The month which is <strong>starting from zero</strong>.
185 * @param dayOfMonth The day of the month.
187 public void updateDate(int year, int month, int dayOfMonth) {
188 mDelegate.updateDate(year, month, dayOfMonth);
199 * @return The selected month.
206 * @return The selected day of month.
440 void updateDate(int year, int month, int dayOfMonth);
627 mTempDate.add(Calendar.MONTH, 1);
629 mTempDate.add(Calendar.MONTH, -1);
631 mTempDate.add(Calendar.MONTH, newVal - oldVal);
639 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH),
652 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) {
653 setDate(year, month, monthDay);
666 // month
667 mMonthSpinner = (NumberPicker) mDelegator.findViewById(R.id.month);
714 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate
739 public void updateDate(int year, int month, int dayOfMonth) {
740 if (!isNewDate(year, month, dayOfMonth)) {
743 setDate(year, month, dayOfMonth);
756 return mCurrentDate.get(Calendar.MONTH);
915 mNumberOfMonths = mTempDate.getActualMaximum(Calendar.MONTH) + 1;
929 * Tests whether the current locale is one where there are no real month names,
1001 private boolean isNewDate(int year, int month, int dayOfMonth) {
1003 || mCurrentDate.get(Calendar.MONTH) != dayOfMonth
1004 || mCurrentDate.get(Calendar.DAY_OF_MONTH) != month);
1007 private void setDate(int year, int month, int dayOfMonth) {
1008 mCurrentDate.set(year, month, dayOfMonth);
1023 mMonthSpinner.setMinValue(mCurrentDate.get(Calendar.MONTH));
1024 mMonthSpinner.setMaxValue(mCurrentDate.getActualMaximum(Calendar.MONTH));
1031 mMonthSpinner.setMinValue(mCurrentDate.getActualMinimum(Calendar.MONTH));
1032 mMonthSpinner.setMaxValue(mCurrentDate.get(Calendar.MONTH));
1044 // make sure the month names are a zero based array
1045 // with the months in the month spinner
1057 mMonthSpinner.setValue(mCurrentDate.get(Calendar.MONTH));
1108 // Month
1163 private SavedState(Parcelable superState, int year, int month, int day) {
1166 mMonth = month;