public class IsMonth<T> extends TemporalMatcher<T>
| Constructor and Description |
|---|
IsMonth(TemporalConverter<T,Month> converter,
TemporalProvider<Month> expected) |
IsMonth(TemporalConverter<T,Month> converter,
TemporalProvider<Month> 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 IsMonth(TemporalConverter<T,Month> converter, TemporalProvider<Month> expected, Optional<ZoneId> zone, Locale locale)
public IsMonth(TemporalConverter<T,Month> converter, TemporalProvider<Month> 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.