public class RequestCriteria
extends java.lang.Object
Constructor and Description |
---|
RequestCriteria(java.lang.String instrument,
java.lang.String interval,
java.util.Date start,
java.util.Date end,
boolean cached) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEnd() |
java.lang.String |
getInstrument() |
java.lang.String |
getInterval() |
java.util.Date |
getStart() |
boolean |
isCached() |
java.lang.String |
toString() |
public RequestCriteria(java.lang.String instrument, java.lang.String interval, java.util.Date start, java.util.Date end, boolean cached)
instrument
- the instrument that this data is about. May not be null.interval
- the intervalisation of the data. For example "1h" for datapoints covering an hour
each.start
- the earliest time which is being requested. May be null.end
- the latest time which is being requested. May be null.cached
- whether or not the request is for cached data or live data.public java.lang.String getInterval()
public java.util.Date getStart()
public java.util.Date getEnd()
public java.lang.String getInstrument()
public boolean isCached()
public java.lang.String toString()
toString
in class java.lang.Object
Please send bug reports and comments to Caplin support