public abstract class DateContentMatcher extends org.hamcrest.TypeSafeMatcher<Content>
ContentMatchers
Modifier and Type | Class and Description |
---|---|
protected static class |
DateContentMatcher.Direction |
Constructor and Description |
---|
DateContentMatcher(org.joda.time.DateTime dateTime,
DateContentMatcher.Direction direction,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(Content item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected abstract org.joda.time.DateTime |
getDateTimeForContent(Content content) |
protected boolean |
matchesSafely(Content content) |
public DateContentMatcher(org.joda.time.DateTime dateTime, DateContentMatcher.Direction direction, String fieldName)
protected boolean matchesSafely(Content content)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<Content>
protected abstract org.joda.time.DateTime getDateTimeForContent(Content content)
public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2018 Atlassian. All rights reserved.