Month extends RangeUnit { public int getSelectedIndex() { return mSelectedIndex; } 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();  }
@Test public void testGetSelectedIndexUnselected() throws Exception { assertEquals(-1, mMonth.getSelectedIndex()); }
@Test public void testGetSelectedIndex() throws Exception { mMonth.select(mToday); assertEquals(1, mMonth.getSelectedIndex()); }