public class TimeBounds extends java.lang.Object implements XdrElement
struct TimeBounds { TimePoint minTime; TimePoint maxTime; // 0 here means no maxTime };
Modifier and Type | Class and Description |
---|---|
static class |
TimeBounds.TimeBoundsBuilder |
Constructor and Description |
---|
TimeBounds() |
TimeBounds(TimePoint minTime,
TimePoint maxTime) |
Modifier and Type | Method and Description |
---|---|
static TimeBounds.TimeBoundsBuilder |
builder() |
static TimeBounds |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TimeBounds |
fromXdrBase64(java.lang.String xdr) |
static TimeBounds |
fromXdrByteArray(byte[] xdr) |
TimePoint |
getMaxTime() |
TimePoint |
getMinTime() |
int |
hashCode() |
void |
setMaxTime(TimePoint maxTime) |
void |
setMinTime(TimePoint minTime) |
TimeBounds.TimeBoundsBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TimeBounds decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TimeBounds fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TimeBounds fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TimeBounds.TimeBoundsBuilder builder()
public TimeBounds.TimeBoundsBuilder toBuilder()
public TimePoint getMinTime()
public TimePoint getMaxTime()
public void setMinTime(TimePoint minTime)
public void setMaxTime(TimePoint maxTime)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object