public class AnyOf<T> extends DateMatcher<T>
| Constructor and Description |
|---|
AnyOf(Stream<DateMatcher<? super T>> dateMatchers,
BiFunction<T,ZoneId,String> descriptionProvider) |
| 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 t,
org.hamcrest.Description mismatchDescription) |
public AnyOf(Stream<DateMatcher<? super T>> dateMatchers, BiFunction<T,ZoneId,String> descriptionProvider)
protected boolean matchesSafely(T t, 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.