Package org.assertj.core.api
Class YearMonthAssert
java.lang.Object
- All Implemented Interfaces:
Assert<YearMonthAssert,
,YearMonth> Descriptable<YearMonthAssert>
,ExtensionPoints<YearMonthAssert,
YearMonth>
Assertions for
YearMonth
type from new Date & Time API introduced in Java 8.- Since:
- 3.26.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractTemporalAssert
comparables
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
YearMonthAssert
(YearMonth actual) Creates a new
.YearMonthAssert
-
Method Summary
Methods inherited from class org.assertj.core.api.AbstractYearMonthAssert
hasMonth, hasMonthValue, hasYear, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBetween, isBetween, isCurrentYearMonth, isEqualTo, isIn, isInTheFuture, isInThePast, isNotEqualTo, isNotIn, isStrictlyBetween, isStrictlyBetween, parse
Methods inherited from class org.assertj.core.api.AbstractTemporalAssert
isCloseTo, isCloseTo, usingComparator, usingComparator, usingDefaultComparator
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
YearMonthAssert
Creates a new
.YearMonthAssert
- Parameters:
actual
- the actual value to verify
-