public static class DateTimeOptionPropertyAdapter.Builder extends ValueOptionPropertyAdapter.BuilderBase<DateTimeOptionPropertyAdapter.Builder,DateTimeOptionPropertyAdapter>
DateTimeOptionPropertyAdapter
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DateTimeOptionPropertyAdapter |
build()
Builds the
PropertyAdapter . |
DateTimeOptionPropertyAdapter.Builder |
withDateTimeFormat(String value)
Sets the date format.
|
DateTimeOptionPropertyAdapter.Builder |
withTimeZone(String newValue)
Sets the time zone.
|
lazy, self, withNullStyle
public DateTimeOptionPropertyAdapter build()
ValueOptionPropertyAdapter.BuilderBase
PropertyAdapter
.build
in class ValueOptionPropertyAdapter.BuilderBase<DateTimeOptionPropertyAdapter.Builder,DateTimeOptionPropertyAdapter>
public DateTimeOptionPropertyAdapter.Builder withDateTimeFormat(String value)
value
- the format string in SimpleDateFormat
public DateTimeOptionPropertyAdapter.Builder withTimeZone(String newValue)
newValue
- a string representation of target time zoneCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.