package com.prolificinteractive.materialcalendarview; import java.util.Calendar; import java.util.Collection; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes3.dex */ public class MonthView extends CalendarPagerView { @Override // com.prolificinteractive.materialcalendarview.CalendarPagerView protected int getRows() { return 7; } public MonthView(MaterialCalendarView materialCalendarView, CalendarDay calendarDay, int i) { super(materialCalendarView, calendarDay, i); } @Override // com.prolificinteractive.materialcalendarview.CalendarPagerView protected void buildDayViews(Collection collection, Calendar calendar) { for (int i = 0; i < 6; i++) { for (int i2 = 0; i2 < 7; i2++) { addDayView(collection, calendar); } } } public CalendarDay getMonth() { return getFirstViewDay(); } @Override // com.prolificinteractive.materialcalendarview.CalendarPagerView protected boolean isDayEnabled(CalendarDay calendarDay) { return calendarDay.getMonth() == getFirstViewDay().getMonth(); } }