public static class DateTimeOptionFieldAdapter.Builder extends ValueOptionFieldAdapter.BuilderBase<DateTimeOptionFieldAdapter.Builder,DateTimeOptionFieldAdapter>
DateTimeOptionFieldAdapter
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DateTimeOptionFieldAdapter |
build()
Builds the
FieldAdapter . |
DateTimeOptionFieldAdapter.Builder |
withDateTimeFormat(String newValue)
Sets the date-time format.
|
DateTimeOptionFieldAdapter.Builder |
withTimeZone(String newValue)
Sets the time zone.
|
getNullFormat, lazy, self, withNullFormat
public DateTimeOptionFieldAdapter.Builder withDateTimeFormat(String newValue)
newValue
- the format string in SimpleDateFormat
public DateTimeOptionFieldAdapter.Builder withTimeZone(String newValue)
newValue
- a string representation of target time zonepublic DateTimeOptionFieldAdapter build()
ValueOptionFieldAdapter.BuilderBase
FieldAdapter
.build
in class ValueOptionFieldAdapter.BuilderBase<DateTimeOptionFieldAdapter.Builder,DateTimeOptionFieldAdapter>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.