Class Predicate.RelBefore

java.lang.Object
org.stellar.sdk.Predicate
org.stellar.sdk.Predicate.RelBefore
Enclosing class:
Predicate

public static class Predicate.RelBefore extends Predicate
Represents predicate based on maximum length of time
  • Constructor Details

    • RelBefore

      public RelBefore(long secondsSinceClose)
    • RelBefore

      public RelBefore(Duration duration)
  • Method Details

    • getSecondsSinceClose

      public long getSecondsSinceClose()
    • toXdr

      public ClaimPredicate toXdr()
      Description copied from class: Predicate
      Generates XDR object from a given Asset object
      Specified by:
      toXdr in class Predicate
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class Predicate
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object