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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeBounds.TimeBoundsBuilderbuilder()static TimeBoundsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TimeBoundsfromXdrBase64(String xdr) static TimeBoundsfromXdrByteArray(byte[] xdr) inthashCode()voidsetMaxTime(TimePoint maxTime) voidsetMinTime(TimePoint minTime) toString()default Stringdefault 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
-