Optional
instead.@Deprecated public class DateTimeParam extends AbstractParam<org.joda.time.DateTime>
400 Bad
Request
response. All values returned are in UTC.Constructor and Description |
---|
DateTimeParam(String input)
Deprecated.
|
DateTimeParam(String input,
String parameterName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.joda.time.DateTime |
parse(String input)
Deprecated.
Given a string representation, parse it and return an instance of the parameter type.
|
equals, error, errorMessage, get, getErrorStatus, hashCode, mediaType, toString
protected org.joda.time.DateTime parse(@Nullable String input) throws Exception
AbstractParam
parse
in class AbstractParam<org.joda.time.DateTime>
input
- the raw inputinput
, parsed as an instance of T
Exception
- if there is an error parsing the inputCopyright © 2021. All rights reserved.