Lines Matching refs:MONTH
65 // which month should be displayed/highlighted [0-11]
174 final int diffMonths = end.get(Calendar.MONTH) - start.get(Calendar.MONTH) + 12 * diffYears;
194 * in range it will move the list so that the first of the month containing
242 // and if so scroll to the month that contains it
272 * Updates the title and selected month if the view has moved to a new
273 * month.
287 * Sets the month displayed at the top of this view based on time. Override
291 if (mCurrentMonthDisplayed != date.get(Calendar.MONTH)) {
292 mCurrentMonthDisplayed = date.get(Calendar.MONTH);
470 sbuf.append(day.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.getDefault()));
478 * in the month list.
488 * When scroll forward/backward events are received, announce the newly scrolled-to month.
497 // Figure out what month is showing.
499 final int month = firstVisiblePosition % 12;
502 day.set(year, month, 1);
504 // Scroll either forward or backward one month.
506 day.add(Calendar.MONTH, 1);
507 if (day.get(Calendar.MONTH) == 12) {
508 day.set(Calendar.MONTH, 0);
513 // If the view is fully visible, jump one month back. Otherwise, we'll just jump
514 // to the first day of first visible month.
518 day.add(Calendar.MONTH, -1);
519 if (day.get(Calendar.MONTH) == -1) {
520 day.set(Calendar.MONTH, 11);
526 // Go to that month.