public class AssertionsOnValueChronology extends Object
AssertOnValueChronology
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert> |
isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateTimeValue dateTime)
Verifies that the value is after a date/time value.
|
static <A extends AbstractAssert> |
isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateValue date)
Verifies that the value is after a date value.
|
static <A extends AbstractAssert> |
isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
String expected)
Verifies that the value is after a date, time or date/time represented by a
String . |
static <A extends AbstractAssert> |
isAfter(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
TimeValue time)
Verifies that the value is after a time value.
|
static <A extends AbstractAssert> |
isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateTimeValue dateTime)
Verifies that the value is after or equal to a date/time value.
|
static <A extends AbstractAssert> |
isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateValue date)
Verifies that the value is after or equal to a date value.
|
static <A extends AbstractAssert> |
isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
String expected)
Verifies that the value is after or equal to a date, time or date/time represented by a
String . |
static <A extends AbstractAssert> |
isAfterOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
TimeValue time)
Verifies that the value is after or equal to a time value.
|
static <A extends AbstractAssert> |
isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateTimeValue dateTime)
Verifies that the value is before a date/time value.
|
static <A extends AbstractAssert> |
isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateValue date)
Verifies that the value is before a date value.
|
static <A extends AbstractAssert> |
isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
String expected)
Verifies that the value is before a date, time or date/time represented by a
String . |
static <A extends AbstractAssert> |
isBefore(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
TimeValue time)
Verifies that the value is before a time value.
|
static <A extends AbstractAssert> |
isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateTimeValue dateTime)
Verifies that the value is before or equal to a date/time value.
|
static <A extends AbstractAssert> |
isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
DateValue date)
Verifies that the value is before or equal to a date value.
|
static <A extends AbstractAssert> |
isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
String expected)
Verifies that the value is before or equal to a date, time or date/time represented by a
String . |
static <A extends AbstractAssert> |
isBeforeOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Object value,
TimeValue time)
Verifies that the value is before or equal to a time value.
|
public static <A extends AbstractAssert> A isBefore(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateValue date)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.date
- The date value to compare to.this
assertion object.AssertionError
- If the value is not before to the date value in parameter.public static <A extends AbstractAssert> A isBefore(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, TimeValue time)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.time
- The time value to compare to.this
assertion object.AssertionError
- If the value is not before to the time value in parameter.public static <A extends AbstractAssert> A isBefore(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateTimeValue dateTime)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.dateTime
- The date/time value to compare to.this
assertion object.AssertionError
- If the value is not before to the date/time value in parameter.public static <A extends AbstractAssert> A isBefore(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, String expected)
String
.A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The String
representing a date, time or date/time to compare to.this
assertion object.AssertionError
- If the value is not before the date, time or date/time represented in parameter.public static <A extends AbstractAssert> A isBeforeOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateValue date)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.date
- The date value to compare to.this
assertion object.AssertionError
- If the value is not before or equal to the date value in parameter.public static <A extends AbstractAssert> A isBeforeOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, TimeValue time)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.time
- The time value to compare to.this
assertion object.AssertionError
- If the value is not before or equal to the time value in parameter.public static <A extends AbstractAssert> A isBeforeOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateTimeValue dateTime)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.dateTime
- The date/time value to compare to.this
assertion object.AssertionError
- If the value is not before or equal to the date/time value in parameter.public static <A extends AbstractAssert> A isBeforeOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, String expected)
String
.A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The String
representing a date, time or date/time to compare to.this
assertion object.AssertionError
- If the value is not before or equal to the date, time or date/time represented in parameter.public static <A extends AbstractAssert> A isAfter(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateValue date)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.date
- The date value to compare to.this
assertion object.AssertionError
- If the value is not after to the date value in parameter.public static <A extends AbstractAssert> A isAfter(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, TimeValue time)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.time
- The time value to compare to.this
assertion object.AssertionError
- If the value is not after to the time value in parameter.public static <A extends AbstractAssert> A isAfter(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateTimeValue dateTime)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.dateTime
- The date/time value to compare to.this
assertion object.AssertionError
- If the value is not after to the date/time value in parameter.public static <A extends AbstractAssert> A isAfter(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, String expected)
String
.A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The String
representing a date, time or date/time to compare to.this
assertion object.AssertionError
- If the value is not after the date, time or date/time represented in parameter.public static <A extends AbstractAssert> A isAfterOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateValue date)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.date
- The date value to compare to.this
assertion object.AssertionError
- If the value is not after or equal to the time value in parameter.public static <A extends AbstractAssert> A isAfterOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, TimeValue time)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.time
- The time value to compare to.this
assertion object.AssertionError
- If the value is not after or equal to the time value in parameter.public static <A extends AbstractAssert> A isAfterOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, DateTimeValue dateTime)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.dateTime
- The date/time value to compare to.this
assertion object.AssertionError
- If the value is not after or equal to the date/time value in parameter.public static <A extends AbstractAssert> A isAfterOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Object value, String expected)
String
.A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The String
representing a date, time or date/time to compare to.this
assertion object.AssertionError
- If the value is not after or equal to the date, time or date/time represented in parameter.Copyright © 2015 AssertJ. All Rights Reserved.