Instant type from new Date & Time API introduced in Java 8.
| Access | Constructor and Description |
|---|---|
| protected | AbstractInstantAssert(Instant
the actual value to verify actual, Class<?> the "self type" selfType)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| private static void | assertInstantAsStringParameterIsNotNull(String
String representing the instantAsString)Instant to compare actual withCheck that the |
| private static void | |
| private static void | |
| private void | |
| private static Object[] | |
| public SELF | |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | Returns: this assertion object.the given other)Instant.Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | Returns: this assertion object.the given other)Instant.Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | |
| public SELF | Returns: this assertion object.the start value (inclusive), expected not to be null. startInclusive, String the end value (inclusive), expected not to be null. endInclusive)Same assertion as |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | Returns: this assertion object.String array representing instantsAsString)Instants.Same assertion as |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a instantAsString)Instant.Same assertion as |
| public SELF | Returns: this assertion object.Array of String representing a instantsAsString)Instant.Same assertion as |
| public SELF | Returns: this assertion object.the start value (exclusive), expected not to be null. startExclusive, Instant the end value (exclusive), expected not to be null. endExclusive)Verifies that the actual |
| public SELF | Returns: this assertion object.the start value (exclusive), expected not to be null. startExclusive, String the end value (exclusive), expected not to be null. endExclusive)Same assertion as |
| protected Instant | parse(String
the string to parse, not null instantAsString)Implements abstract org. TEMPORAL from a string representation in ISO date format.
|
| AbstractInstantAssert | back to summary |
|---|---|
| protected AbstractInstantAssert(Instant actual, Class<?> selfType) Creates a new | |
| assertInstantAsStringParameterIsNotNull | back to summary |
|---|---|
| private static void assertInstantAsStringParameterIsNotNull(String instantAsString) Check that the
| |
| assertInstantParameterIsNotNull | back to summary |
|---|---|
| private static void assertInstantParameterIsNotNull(Instant instant) | |
| assertNotNull | back to summary |
|---|---|
| private static void assertNotNull(AssertionInfo info, Instant actual) | |
| checkIsNotNullAndNotEmpty | back to summary |
|---|---|
| private void checkIsNotNullAndNotEmpty(Object[] values) | |
| convertToInstantArray | back to summary |
|---|---|
| private static Object[] convertToInstantArray(String[] instantsAsString) | |
| isAfter | back to summary |
|---|---|
| public SELF isAfter(Instant other) Verifies that the actual Example :
| |
| isAfter | back to summary |
|---|---|
| public SELF isAfter(String instantAsString) Same assertion as Example :
| |
| isAfterOrEqualTo | back to summary |
|---|---|
| public SELF isAfterOrEqualTo(Instant other) Verifies that the actual Example :
| |
| isAfterOrEqualTo | back to summary |
|---|---|
| public SELF isAfterOrEqualTo(String instantAsString) Same assertion as Example :
| |
| isBefore | back to summary |
|---|---|
| public SELF isBefore(Instant other) Verifies that the actual Example :
| |
| isBefore | back to summary |
|---|---|
| public SELF isBefore(String instantAsString) Same assertion as Example :
| |
| isBeforeOrEqualTo | back to summary |
|---|---|
| public SELF isBeforeOrEqualTo(Instant other) Verifies that the actual Example :
| |
| isBeforeOrEqualTo | back to summary |
|---|---|
| public SELF isBeforeOrEqualTo(String instantAsString) Same assertion as Example :
| |
| isBetween | back to summary |
|---|---|
| public SELF isBetween(Instant startInclusive, Instant endInclusive) Verifies that the actual Example:
| |
| isBetween | back to summary |
|---|---|
| public SELF isBetween(String startInclusive, String endInclusive) Same assertion as Example:
| |
| isEqualTo | back to summary |
|---|---|
| public SELF isEqualTo(String instantAsString) Same assertion as Example :
| |
| isIn | back to summary |
|---|---|
| public SELF isIn(String... instantsAsString) Same assertion as Example :
| |
| isInTheFuture | back to summary |
|---|---|
| public SELF isInTheFuture() Verifies that the actual Example:
| |
| isInThePast | back to summary |
|---|---|
| public SELF isInThePast() Verifies that the actual Example:
| |
| isNotEqualTo | back to summary |
|---|---|
| public SELF isNotEqualTo(String instantAsString) Same assertion as Example :
| |
| isNotIn | back to summary |
|---|---|
| public SELF isNotIn(String... instantsAsString) Same assertion as Example :
| |
| isStrictlyBetween | back to summary |
|---|---|
| public SELF isStrictlyBetween(Instant startExclusive, Instant endExclusive) Verifies that the actual Example:
| |
| isStrictlyBetween | back to summary |
|---|---|
| public SELF isStrictlyBetween(String startExclusive, String endExclusive) Same assertion as Example:
| |
| parse | back to summary |
|---|---|
| protected Instant parse(String instantAsString) Implements abstract org. Doc from org. Obtains an instance of | |