public final class DateTimeOptionFieldAdapter extends ValueOptionFieldAdapter<DateTimeOption>
FieldAdapter
which accepts DateTimeOption
.Modifier and Type | Class and Description |
---|---|
static class |
DateTimeOptionFieldAdapter.Builder
A builder of
DateTimeOptionFieldAdapter . |
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-time format.
|
DEFAULT_NULL_FORMAT
Modifier and Type | Method and Description |
---|---|
static DateTimeOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmit(DateTimeOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParse(CharSequence contents,
DateTimeOption 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 DateTimeOptionFieldAdapter.Builder builder()
protected void doParse(CharSequence contents, DateTimeOption property)
ValueOptionFieldAdapter
doParse
in class ValueOptionFieldAdapter<DateTimeOption>
contents
- the contents, never null
property
- the destination propertyprotected void doEmit(DateTimeOption property, StringBuilder output)
ValueOptionFieldAdapter
doEmit
in class ValueOptionFieldAdapter<DateTimeOption>
property
- the property value, never null
nor represents null
output
- the destination bufferCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.