@Test public void testHasPrevNull() throws Exception { assertTrue(mWeek.hasPrev()); }
@Override public boolean hasPrev() { LocalDate minDate = getMinDate(); if (minDate == null) { return true; } else { return minDate.isBefore(mDays.get(0).getDate()); } }
Week extends RangeUnit { @Override public boolean hasPrev() { LocalDate minDate = getMinDate(); if (minDate == null) { return true; } else { return minDate.isBefore(mDays.get(0).getDate()); } } }
Week extends RangeUnit { @Override public boolean hasPrev() { LocalDate minDate = getMinDate(); if (minDate == null) { return true; } else { return minDate.isBefore(mDays.get(0).getDate()); } } Week(@NonNull LocalDate date, @NonNull LocalDate today, @Nullable LocalDate minDate,
                @Nullable LocalDate maxDate); }
Week extends RangeUnit { @Override public boolean hasPrev() { LocalDate minDate = getMinDate(); if (minDate == null) { return true; } else { return minDate.isBefore(mDays.get(0).getDate()); } } Week(@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<Day> getDays(); @Override void build(); }
Week extends RangeUnit { @Override public boolean hasPrev() { LocalDate minDate = getMinDate(); if (minDate == null) { return true; } else { return minDate.isBefore(mDays.get(0).getDate()); } } Week(@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<Day> getDays(); @Override void build();  }