Predicate.AbsBefore, Predicate.And, Predicate.Not, Predicate.Or, Predicate.RelBefore, Predicate.Unconditional| Constructor and Description |
|---|
AbsBefore(java.math.BigInteger epochSeconds) |
AbsBefore(long epochSeconds) |
AbsBefore(TimePoint timePoint)
Creates a new
AbsBefore instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.time.Instant |
getDate()
Gets the java date representation of a Predicate.
|
java.math.BigInteger |
getTimestampSeconds()
Gets the predicate timestamp in seconds.
|
int |
hashCode() |
ClaimPredicate |
toXdr()
Generates XDR object from a given Predicate object.
|
public AbsBefore(long epochSeconds)
public AbsBefore(java.math.BigInteger epochSeconds)
public AbsBefore(TimePoint timePoint)
AbsBefore instance.timePoint - The maximum absolute timestamp in seconds.public java.math.BigInteger getTimestampSeconds()
public java.time.Instant getDate()
Instant.MAX instead as no greater value can
be represented.
If you want to get the real epoch, use getTimestampSeconds() instead.
public ClaimPredicate toXdr()
Predicatepublic int hashCode()
hashCode in class java.lang.Object