public class IsSameOrBefore<T> extends DateMatcher<T>
| Constructor and Description |
|---|
IsSameOrBefore(TemporalWrapper<T> expected,
TemporalFormatter<T> describer) |
| Modifier and Type | Method and Description |
|---|---|
DateMatcher<T> |
atZone(ZoneId zone)
Creates a copy of this matcher using a specific time zone.
|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T actual,
org.hamcrest.Description mismatchDescription) |
public IsSameOrBefore(TemporalWrapper<T> expected, TemporalFormatter<T> describer)
protected boolean matchesSafely(T actual, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>public void describeTo(org.hamcrest.Description description)
public DateMatcher<T> atZone(ZoneId zone)
DateMatcheratZone in class DateMatcher<T>zone - the new time zoneCopyright © 2019. All rights reserved.