public class DateRangeReader extends java.lang.Object implements JsonObjectReader<DateRange>
Constructor and Description |
---|
DateRangeReader() |
Modifier and Type | Method and Description |
---|---|
void |
readAbsolute(JsonParser parser) |
void |
readRecent(JsonParser parser) |
void |
readTimeframe(JsonParser parser) |
void |
setResolution(DateRangeUnit resolution) |
DateRange |
validateAndBuild() |
public void readTimeframe(JsonParser parser) throws java.io.IOException
java.io.IOException
public void readAbsolute(JsonParser parser) throws java.io.IOException
java.io.IOException
public void setResolution(DateRangeUnit resolution)
public void readRecent(JsonParser parser) throws java.io.IOException
java.io.IOException
public DateRange validateAndBuild() throws java.io.IOException
validateAndBuild
in interface JsonObjectReader<DateRange>
java.io.IOException