public static class Predicate.RelBefore extends Predicate
CreateClaimableBalanceOperation is included.Predicate.AbsBefore, Predicate.And, Predicate.Not, Predicate.Or, Predicate.RelBefore, Predicate.Unconditional| Constructor and Description |
|---|
RelBefore(Duration duration)
Creates a new
RelBefore instance. |
RelBefore(long secondsSinceClose)
Creates a new predicate based on a relative time offset from the close time of the ledger.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getSecondsSinceClose()
Gets the relative time offset in seconds.
|
int |
hashCode() |
ClaimPredicate |
toXdr()
Generates XDR object from a given Predicate object.
|
public RelBefore(long secondsSinceClose)
secondsSinceClose - the relative time offset in seconds from the close time of the
ledgerpublic RelBefore(Duration duration)
RelBefore instance.duration - The relative time offset in seconds from the close time of the ledger.public long getSecondsSinceClose()
public ClaimPredicate toXdr()
Predicatepublic int hashCode()
hashCode in class java.lang.Object