java.time.OffsetDateTime type from new Date & Time API introduced in Java 8.
| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Access | Constructor and Description |
|---|---|
| protected | AbstractOffsetDateTimeAssert(OffsetDateTime
the actual value to verify actual, Class<?> the "self type" selfType)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | Returns: true if both OffsetDateTime are in the same year, month, day of month and hour, false otherwise.the actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year, month, day of month and hour, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same year, month and day of month, hour, minute and second, false otherwise.the actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year, month and day of month, hour, minute and second, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same year, month, day of month, hour and minute, false otherwise.the actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year, month, day of month, hour and minute, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same hour, minute, second and nanosecond false otherwise.the actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same hour, minute, second and nanosecond false otherwise. |
| private static void | assertOffsetDateTimeAsStringParameterIsNotNull(String
String representing the offsetDateTimeAsString)java. to compare actual withCheck that the |
| private static void | assertOffsetDateTimeParameterIsNotNull(OffsetDateTime
the other)java. to checkCheck that the |
| private Comparables | |
| private void | |
| private static Object[] | |
| private static boolean | Returns: true if both OffsetDateTime are in the same year, false otherwisethe actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same nanosecond, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same year, false otherwisethe actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same year and month, false otherwisethe actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year and month, false otherwise. |
| private static boolean | Returns: true if both OffsetDateTime are in the same year, month and day of month, false otherwisethe actual OffsetDateTime. expected not be null actual, OffsetDateTime the other OffsetDateTime. expected not be null other)Returns true if both OffsetDateTime are in the same year, month and day of month, false otherwise. |
| public SELF | Returns: this assertion object.the given other)java..Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a offsetDateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the given other)java..Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a offsetDateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the given other)OffsetDateTime.Verifies that actual and given |
| public SELF | Returns: this assertion object.the given other)java..Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a offsetDateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the given other)java..Verifies that the actual |
| public SELF | Returns: this assertion object.String representing a offsetDateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the start value (inclusive), expected not to be null. startInclusive, OffsetDateTime the end value (inclusive), expected not to be null. endInclusive)Verifies that the actual |
| 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 objectthe OffsetDateTime to compare actual to other, TemporalOffset<? super OffsetDateTime> the offset used for comparison offset)Overrides org. OffsetDateTime is close to the other according to the given TemporalOffset.
|
| public SELF | Returns: this assertion objectThe offset used for comparison offset)Verifies that the actual |
| public SELF | Returns: this assertion object.the given value to compare the actual value to. other)Overrides org. Implements org. OffsetDateTime is equal to the given one according to the comparator in use.
|
| public SELF | Returns: this assertion object.String representing a dateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the given other)java..
Deprecated
Use
Verifies that actual and given isCloseTo(OffsetDateTime, TemporalOffset) instead, although not exactly the same semantics,
this is the right way to compare with a given precision.
OffsetDateTime have same year, month and day fields (hour, minute, second
and nanosecond fields are ignored in comparison).
|
| public SELF | Returns: this assertion object.the given other)java..
Deprecated
Use
Verifies that actual and given isCloseTo(OffsetDateTime, TemporalOffset) instead, although not exactly the same semantics,
this is the right way to compare with a given precision.
OffsetDateTime have same year, month, day and hour fields (minute, second
and
nanosecond fields are ignored in comparison).
|
| public SELF | Returns: this assertion object.the given other)java..
Deprecated
Use
Verifies that actual and given isCloseTo(OffsetDateTime, TemporalOffset) instead, although not exactly the same semantics,
this is the right way to compare with a given precision.
OffsetDateTime have same year, month, day, hour, minute and second fields,
(nanosecond fields are ignored in comparison).
|
| public SELF | Returns: this assertion object.the given other)java..
Deprecated
Use
Verifies that actual and given isCloseTo(OffsetDateTime, TemporalOffset) instead, although not exactly the same semantics,
this is the right way to compare with a given precision.
java. have same year, month, day, hour and minute fields
(second and
nanosecond fields are ignored in comparison).
|
| public SELF | Returns: this assertion object.the given other)java..Verifies that actual and given |
| public SELF | Returns: this assertion object.String array representing dateTimesAsString)java.s.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.the given value to compare the actual value to. other)Overrides org. Implements org. OffsetDateTime is not equal to the given value according to the comparator in use.
|
| public SELF | Returns: this assertion object.String representing a dateTimeAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.Array of String representing a dateTimesAsString)java..Same assertion as |
| public SELF | Returns: this assertion object.the start value (exclusive), expected not to be null. startExclusive, OffsetDateTime 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 OffsetDateTime | parse(String
the string to parse, not null offsetDateTimeAsString)Implements abstract org. TEMPORAL from a string representation in ISO date format.
|
| public SELF | usingDefaultComparator()
Overrides org. Implements org. |