Package org.stellar.sdk.xdr
Class Duration
java.lang.Object
org.stellar.sdk.xdr.Duration
Duration's original definition in the XDR file is:
typedef uint64 Duration;
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Duration
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Duration
fromXdrBase64
(String xdr) static Duration
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDuration
(Uint64 Duration) toString()
default String
default byte[]
-
Constructor Details
-
Duration
public Duration() -
Duration
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getDuration
-
setDuration
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-