java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Content>
com.atlassian.confluence.api.testsupport.matchers.model.content.DateContentMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<Content>, org.hamcrest.SelfDescribing

public abstract class DateContentMatcher extends org.hamcrest.TypeSafeMatcher<Content>
See Also:
  • Constructor Details

  • Method Details

    • matchesSafely

      protected boolean matchesSafely(Content content)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<Content>
    • getDateTimeForContent

      protected abstract OffsetDateTime getDateTimeForContent(Content content)
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • describeMismatchSafely

      protected void describeMismatchSafely(Content item, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<Content>