Package org.stellar.sdk.xdr
Class TimeBounds
java.lang.Object
org.stellar.sdk.xdr.TimeBounds
TimeBounds's original definition in the XDR file is:
struct TimeBounds { TimePoint minTime; TimePoint maxTime; // 0 here means no maxTime };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimeBounds.TimeBoundsBuilder
builder()
static TimeBounds
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TimeBounds
fromXdrBase64
(String xdr) static TimeBounds
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setMaxTime
(TimePoint maxTime) void
setMinTime
(TimePoint minTime) toString()
default String
default byte[]
-
Constructor Details
-
TimeBounds
public TimeBounds() -
TimeBounds
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getMinTime
-
getMaxTime
-
setMinTime
-
setMaxTime
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-