public final class DateOptionFieldAdapter extends ValueOptionFieldAdapter<DateOption>
FieldAdapter
which accepts DateOption
.Modifier and Type | Class and Description |
---|---|
static class |
DateOptionFieldAdapter.Builder
A builder of
DateOptionFieldAdapter . |
ValueOptionFieldAdapter.BuilderBase<S extends ValueOptionFieldAdapter.BuilderBase<S,T>,T extends FieldAdapter<?>>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FORMAT
The default value of date format.
|
DEFAULT_NULL_FORMAT
Modifier and Type | Method and Description |
---|---|
static DateOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmit(DateOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParse(CharSequence contents,
DateOption property)
Parses the given non-null character sequence and set the parsed value into property.
|
clear, emit, parse
public static final String DEFAULT_FORMAT
public static DateOptionFieldAdapter.Builder builder()
protected void doParse(CharSequence contents, DateOption property)
ValueOptionFieldAdapter
doParse
in class ValueOptionFieldAdapter<DateOption>
contents
- the contents, never null
property
- the destination propertyprotected void doEmit(DateOption property, StringBuilder output)
ValueOptionFieldAdapter
doEmit
in class ValueOptionFieldAdapter<DateOption>
property
- the property value, never null
nor represents null
output
- the destination bufferCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.