Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.data |
Modifier and Type | Method and Description |
---|---|
static TemporalUnitOffset |
Assertions.byLessThan(long value,
java.time.temporal.TemporalUnit unit)
Assertions entry point for
TemporalUnitOffset with strict less than condition
to use with isCloseTo temporal assertions. |
default TemporalUnitOffset |
WithAssertions.byLessThan(long value,
java.time.temporal.TemporalUnit unit)
Assertions entry point for
TemporalUnitOffset with strict less than condition
to use with isCloseTo temporal assertions. |
static TemporalUnitOffset |
Assertions.within(long value,
java.time.temporal.TemporalUnit unit)
Assertions entry point for
TemporalUnitOffset with with less than or equal condition
to use with isCloseTo temporal assertions. |
default TemporalUnitOffset |
WithAssertions.within(long value,
java.time.temporal.TemporalUnit unit)
Assertions entry point for
TemporalUnitOffset with with less than or equal condition
to use with isCloseTo temporal assertions. |
Modifier and Type | Method and Description |
---|---|
SELF |
AbstractLocalDateTimeAssert.isCloseToUtcNow(TemporalUnitOffset offset)
Verifies that the actual
LocalDateTime is close to the current date and time on the UTC timezone,
according to the given TemporalUnitOffset . |
SELF |
AbstractOffsetDateTimeAssert.isCloseToUtcNow(TemporalUnitOffset offset)
Verifies that the actual
OffsetDateTime is close to the current date and time on the UTC timezone,
according to the given TemporalUnitOffset . |
Modifier and Type | Class and Description |
---|---|
class |
TemporalUnitLessThanOffset
TemporalUnitOffset with strict less than condition. |
class |
TemporalUnitWithinOffset
TemporalUnitOffset with less than or equal condition. |