Package org.stellar.sdk.xdr
Class TimeBounds
java.lang.Object
org.stellar.sdk.xdr.TimeBounds
- All Implemented Interfaces:
XdrElement
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()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TimeBounds
public TimeBounds() -
TimeBounds
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getMinTime
-
getMaxTime
-
setMinTime
-
setMaxTime
-
equals
-
hashCode
public int hashCode() -
toString
-