public static class ValueParser.DateTime extends Object implements ValueParser
ValueParser.Boolean, ValueParser.DateMath, ValueParser.DateTime, ValueParser.IPv4, ValueParser.Number, ValueParser.Raw| Modifier and Type | Field and Description |
|---|---|
static ValueParser.DateTime |
DEFAULT |
BOOLEAN, IPv4, RAW| Constructor and Description |
|---|
ValueParser.DateTime(FormatDateTimeFormatter formatter) |
ValueParser.DateTime(String format) |
| Modifier and Type | Method and Description |
|---|---|
double |
parseDouble(String value,
SearchContext searchContext) |
long |
parseLong(String value,
SearchContext searchContext) |
public static final ValueParser.DateTime DEFAULT
public ValueParser.DateTime(String format)
public ValueParser.DateTime(FormatDateTimeFormatter formatter)
public long parseLong(String value, SearchContext searchContext)
parseLong in interface ValueParserpublic double parseDouble(String value, SearchContext searchContext)
parseDouble in interface ValueParserCopyright © 2009–2017. All rights reserved.