public class InstantAssert extends AbstractInstantAssert<InstantAssert>
Instants.
To create an instance of this class, invoke .
Assertions.assertThat(Instant)
actual, info, myself, objects, throwUnsupportedExceptionOnEquals| Constructor and Description |
|---|
InstantAssert(Instant actual)
Creates a new
. |
isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBetween, isBetween, isEqualTo, isIn, isNotEqualTo, isNotIn, isStrictlyBetween, isStrictlyBetween, parsegetActual, isCloseTo, isCloseTo, usingComparator, usingComparator, usingDefaultComparatorareEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, 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, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitas, as, as, describedAspublic InstantAssert(Instant actual)
AbstractInstantAssert.actual - the actual value to verifyCopyright © 2025. All rights reserved.