Searched refs:MONTHS_IN_YEAR (Results 1 – 1 of 1) sorted by relevance
40 private static final int MONTHS_IN_YEAR = 12; field in DayPickerPagerAdapter84 mCount = diffMonth + MONTHS_IN_YEAR * diffYear + 1; in setRange()205 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; in getMonthForPosition()209 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; in getYearForPosition()220 final int position = yearOffset * MONTHS_IN_YEAR + monthOffset; in getPositionForDay()