public abstract class Interval<U extends IntervalUnit> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
U |
getIntervalUnit()
Returns the date or time unit used in this interval.
|
int |
hashCode() |
com.fasterxml.jackson.databind.node.ObjectNode |
toJson()
Returns a JSON representation of this interval to send to the server.
|
String |
toString() |
public U getIntervalUnit()
public com.fasterxml.jackson.databind.node.ObjectNode toJson()
Copyright © 2014. All rights reserved.