Class DateTimeIsBeforeMatcher
java.lang.Object
org.hamcrest.BaseMatcher<org.joda.time.DateTime>
org.hamcrest.TypeSafeMatcher<org.joda.time.DateTime>
net.thucydides.model.matchers.dates.DateTimeIsBeforeMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.joda.time.DateTime>,org.hamcrest.SelfDescribing
public class DateTimeIsBeforeMatcher
extends org.hamcrest.TypeSafeMatcher<org.joda.time.DateTime>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) booleanmatchesSafely(org.joda.time.DateTime provided) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
DateTimeIsBeforeMatcher
public DateTimeIsBeforeMatcher(org.joda.time.DateTime expectedDate)
-
-
Method Details
-
matchesSafely
public boolean matchesSafely(org.joda.time.DateTime provided) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<org.joda.time.DateTime>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-