Package org.assertj.core.api
Class YearMonthAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,TEMPORAL>
-
- org.assertj.core.api.AbstractTemporalAssert<SELF,java.time.YearMonth>
-
- org.assertj.core.api.AbstractYearMonthAssert<YearMonthAssert>
-
- org.assertj.core.api.YearMonthAssert
-
- All Implemented Interfaces:
Assert<YearMonthAssert,java.time.YearMonth>,Descriptable<YearMonthAssert>,ExtensionPoints<YearMonthAssert,java.time.YearMonth>
public class YearMonthAssert extends AbstractYearMonthAssert<YearMonthAssert>
Assertions forYearMonthtype 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
Constructors Modifier Constructor Description protectedYearMonthAssert(java.time.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
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, 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, usingEquals, usingEquals, 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 Detail
-
YearMonthAssert
protected YearMonthAssert(java.time.YearMonth actual)
Creates a new.YearMonthAssert- Parameters:
actual- the actual value to verify
-
-