Class IsFirstDayOfMonth<T>

  • All Implemented Interfaces:
    org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

    public class IsFirstDayOfMonth<T>
    extends TemporalMatcher<T>
    A matcher that tests that the examined date is on the first day of the month
    Author:
    Stewart Bissett
    • Method Detail

      • matchesSafely

        protected boolean matchesSafely​(T actual,
                                        org.hamcrest.Description mismatchDesc)
        Specified by:
        matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)