[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java] / src / main / java / org / ldk / structs / Offer.java
index cbda12ee34651a7abd16887e851877525977af6a..5a9827909b0d1c0e9a999793c5ef28711e45b87a 100644 (file)
@@ -202,6 +202,16 @@ public class Offer extends CommonBase {
                return ret;
        }
 
+       /**
+        * Whether the offer has expired given the duration since the Unix epoch.
+        */
+       public boolean is_expired_no_std(long duration_since_epoch) {
+               boolean ret = bindings.Offer_is_expired_no_std(this.ptr, duration_since_epoch);
+               Reference.reachabilityFence(this);
+               Reference.reachabilityFence(duration_since_epoch);
+               return ret;
+       }
+
        /**
         * Returns whether the given quantity is valid for the offer.
         */