public static class DateParsingUtil.OneOf extends Object implements org.joda.time.format.DateTimeParser
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxLength |
protected String[] |
strings |
| Constructor and Description |
|---|
DateParsingUtil.OneOf(String... strings) |
| Modifier and Type | Method and Description |
|---|---|
int |
estimateParsedLength() |
protected int |
expectedMaxLength() |
protected String[] |
order(String[] strings) |
int |
parseInto(org.joda.time.format.DateTimeParserBucket bucket,
String text,
int position) |
protected final String[] strings
protected final int maxLength
public DateParsingUtil.OneOf(String... strings)
public int estimateParsedLength()
estimateParsedLength in interface org.joda.time.format.DateTimeParserpublic int parseInto(org.joda.time.format.DateTimeParserBucket bucket,
String text,
int position)
parseInto in interface org.joda.time.format.DateTimeParserprotected int expectedMaxLength()
Copyright © 2015. All rights reserved.