Class DateContentMatcher
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
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDateContentMatcher(OffsetDateTime dateTime, DateContentMatcher.Direction direction, String fieldName) DateContentMatcher(org.joda.time.DateTime dateTime, DateContentMatcher.Direction direction, String fieldName) Deprecated.since 8.6 -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(Content item, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) protected abstract OffsetDateTimegetDateTimeForContent(Content content) protected booleanmatchesSafely(Content content) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
DateContentMatcher
public DateContentMatcher(OffsetDateTime dateTime, DateContentMatcher.Direction direction, String fieldName) - Since:
- 8.6
-
DateContentMatcher
@Deprecated public DateContentMatcher(org.joda.time.DateTime dateTime, DateContentMatcher.Direction direction, String fieldName) Deprecated.since 8.6
-
-
Method Details