public class IsMinute<T> extends TemporalMatcher<T>
| Constructor and Description |
|---|
IsMinute(TemporalConverter<T,Minute> converter,
TemporalProvider<Minute> expected) |
IsMinute(TemporalConverter<T,Minute> converter,
TemporalProvider<Minute> expected,
Optional<ZoneId> zone,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
TemporalMatcher<T> |
atLocale(Locale locale)
Creates a copy of this matcher using a specific locale.
|
TemporalMatcher<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) |
atOffsetpublic IsMinute(TemporalConverter<T,Minute> converter, TemporalProvider<Minute> expected, Optional<ZoneId> zone, Locale locale)
public IsMinute(TemporalConverter<T,Minute> converter, TemporalProvider<Minute> expected)
protected boolean matchesSafely(T actual, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>public void describeTo(org.hamcrest.Description description)
public TemporalMatcher<T> atZone(ZoneId zone)
TemporalMatcheratZone in class TemporalMatcher<T>zone - a ZoneIdpublic TemporalMatcher<T> atLocale(Locale locale)
TemporalMatcheratLocale in class TemporalMatcher<T>locale - a LocaleCopyright © 2021 eXparity Limited. All rights reserved.