public class ShouldBeInSameMonth extends BasicErrorMessageFactory
Date is in same year and month as another
one failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldBeInSameMonth(java.util.Date actual,
java.util.Date other) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeInSameMonth(java.util.Date actual,
java.util.Date other)
Creates a new
ShouldBeInSameMonth. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldBeInSameMonth(java.util.Date actual,
java.util.Date other)
public static ErrorMessageFactory shouldBeInSameMonth(java.util.Date actual, java.util.Date other)
ShouldBeInSameMonth.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.