| Package | Description |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.data |
| Modifier and Type | Method | Description |
|---|---|---|
SELF |
AbstractTemporalAssert.isCloseTo(String otherAsString,
TemporalOffset<? super TEMPORAL> offset) |
Same assertion as
AbstractTemporalAssert.isCloseTo(Temporal, TemporalOffset) but the TEMPORAL is built from a given String that
follows predefined ISO date format Predefined Formatters to allow calling AbstractTemporalAssert.parse(String))} method. |
SELF |
AbstractTemporalAssert.isCloseTo(TEMPORAL other,
TemporalOffset<? super TEMPORAL> offset) |
Verifies that the actual
Temporal is close to the other according to the given TemporalOffset. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
TemporalUnitLessThanOffset |
TemporalUnitOffset with strict less than condition. |
class |
TemporalUnitOffset |
Base class for
TemporalOffset on basis of TemporalUnit. |
class |
TemporalUnitWithinOffset |
TemporalUnitOffset with less than or equal condition. |
Copyright © 2014–2019. All rights reserved.