@Test public void testSelectNull() throws Exception { assertFalse(mMonth.select(null)); assertFalse(mMonth.isSelected()); }
@Override public boolean select(@NonNull LocalDate date) { int cnt = mWeeks.size(); for (int i = 0; i < cnt; i++) { Week week = mWeeks.get(i); if (week.select(date)) { mSelectedIndex = i; setSelected(true); return true; } } return false; }
Month extends RangeUnit { @Override public boolean select(@NonNull LocalDate date) { int cnt = mWeeks.size(); for (int i = 0; i < cnt; i++) { Week week = mWeeks.get(i); if (week.select(date)) { mSelectedIndex = i; setSelected(true); return true; } } return false; } }
Month extends RangeUnit { @Override public boolean select(@NonNull LocalDate date) { int cnt = mWeeks.size(); for (int i = 0; i < cnt; i++) { Week week = mWeeks.get(i); if (week.select(date)) { mSelectedIndex = i; setSelected(true); return true; } } return false; } protected  Month(@NonNull LocalDate date, @NonNull LocalDate today, @Nullable LocalDate minDate,
                    @Nullable LocalDate maxDate); }
Month extends RangeUnit { @Override public boolean select(@NonNull LocalDate date) { int cnt = mWeeks.size(); for (int i = 0; i < cnt; i++) { Week week = mWeeks.get(i); if (week.select(date)) { mSelectedIndex = i; setSelected(true); return true; } } return false; } protected  Month(@NonNull LocalDate date, @NonNull LocalDate today, @Nullable LocalDate minDate,
                    @Nullable LocalDate maxDate); @Override boolean hasNext(); @Override boolean hasPrev(); @Override boolean next(); @Override boolean prev(); @Override int getType(); @Override void deselect(@NonNull LocalDate date); @Override boolean select(@NonNull LocalDate date); @NonNull List<Week> getWeeks(); int getSelectedIndex(); @Override void build(); }
Month extends RangeUnit { @Override public boolean select(@NonNull LocalDate date) { int cnt = mWeeks.size(); for (int i = 0; i < cnt; i++) { Week week = mWeeks.get(i); if (week.select(date)) { mSelectedIndex = i; setSelected(true); return true; } } return false; } protected  Month(@NonNull LocalDate date, @NonNull LocalDate today, @Nullable LocalDate minDate,
                    @Nullable LocalDate maxDate); @Override boolean hasNext(); @Override boolean hasPrev(); @Override boolean next(); @Override boolean prev(); @Override int getType(); @Override void deselect(@NonNull LocalDate date); @Override boolean select(@NonNull LocalDate date); @NonNull List<Week> getWeeks(); int getSelectedIndex(); @Override void build();  }