T
- the type of the Temporal
values to be checked against offset.TemporalUnitLessThanOffset
, TemporalUnitOffset
, TemporalUnitWithinOffset
public interface TemporalOffset<T extends Temporal>
Temporal
offset.Modifier and Type | Method | Description |
---|---|---|
String |
getBeyondOffsetDifferenceDescription(T temporal1,
T temporal2) |
Returns description of the difference between temporal values and expected offset details.
|
boolean |
isBeyondOffset(T temporal1,
T temporal2) |
Checks if difference between temporal values is beyond offset.
|
boolean isBeyondOffset(T temporal1, T temporal2)
temporal1
- first temporal value to be validated against second temporal value.temporal2
- second temporal value.String getBeyondOffsetDifferenceDescription(T temporal1, T temporal2)
temporal1
- first temporal value which is being validated against second temporal value.temporal2
- second temporal value.Copyright © 2014–2019. All rights reserved.