[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / PositiveTimestamp.java
index 03b0cbd1a08ed8865ecec8d2e3fd59c543b2e0bb..7e1f32be2a45ef43377d61c27a5c67d963b393a9 100644 (file)
@@ -89,6 +89,8 @@ public class PositiveTimestamp extends CommonBase {
         * Creates a `PositiveTimestamp` from a [`SystemTime`] with a corresponding Unix timestamp in
         * the range `0..=MAX_TIMESTAMP`.
         * 
+        * Note that the subsecond part is dropped as it is not representable in BOLT 11 invoices.
+        * 
         * Otherwise, returns a [`CreationError::TimestampOutOfBounds`].
         */
        public static Result_PositiveTimestampCreationErrorZ from_system_time(long time) {
@@ -103,6 +105,8 @@ public class PositiveTimestamp extends CommonBase {
         * Creates a `PositiveTimestamp` from a [`Duration`] since the Unix epoch in the range
         * `0..=MAX_TIMESTAMP`.
         * 
+        * Note that the subsecond part is dropped as it is not representable in BOLT 11 invoices.
+        * 
         * Otherwise, returns a [`CreationError::TimestampOutOfBounds`].
         */
        public static Result_PositiveTimestampCreationErrorZ from_duration_since_epoch(long duration) {