DefaultTimepointLimiter implements TimepointLimiter { @SuppressWarnings("SimplifiableIfStatement") @Override public boolean isAmDisabled() { Timepoint midday = new Timepoint(12); if (mMinTime != null && mMinTime.compareTo(midday) >= 0) return true; if (!exclusiveSelectableTimes.isEmpty()) return exclusiveSelectableTimes.first().compareTo(midday) >= 0; return false; } DefaultTimepointLimiter(); @SuppressWarnings("WeakerAccess")  DefaultTimepointLimiter(Parcel in); @Override void writeToParcel(Parcel out, int flags); @Override int describeContents(); @Override boolean isOutOfRange(@Nullable Timepoint current, int index, @NonNull Timepoint.TYPE resolution); boolean isOutOfRange(@NonNull Timepoint current); @SuppressWarnings("SimplifiableIfStatement") @Override boolean isAmDisabled(); @SuppressWarnings("SimplifiableIfStatement") @Override boolean isPmDisabled(); @Override @NonNull Timepoint roundToNearest(@NonNull Timepoint time,@Nullable Timepoint.TYPE type, @NonNull Timepoint.TYPE resolution); @SuppressWarnings("WeakerAccess")
    static final Parcelable.Creator<DefaultTimepointLimiter> CREATOR; }
@Test public void isAmDisabledShouldReturnFalseWithoutConstraints() { DefaultTimepointLimiter limiter = new DefaultTimepointLimiter(); Assert.assertFalse(limiter.isAmDisabled()); }