public class LocalDateConverter extends TemporalAccessConverter<java.time.LocalDate>
ObjectConverter for <code>LocalDate</code>.PROPERTY_DATE_TIME_FORMATTER| Constructor and Description |
|---|
LocalDateConverter()
Creates a DateConverter.
|
| Modifier and Type | Method and Description |
|---|---|
java.time.LocalDate |
fromString(java.lang.String string,
ConverterContext context)
Converts from a String to a LocalDate.
|
protected java.time.format.DateTimeFormatter |
getFullDateTimeFormatter() |
protected java.time.format.DateTimeFormatter |
getLongDateTimeFormatter() |
protected java.time.format.DateTimeFormatter |
getMediumDateTimeFormatter() |
protected java.time.format.DateTimeFormatter |
getShortDateTimeFormatter() |
getDefaultDateTimeFormatter, setDefaultDateTimeFormatter, temporalFromString, toStringfromString, getObjectConverterManager, toString, toStringConverterpublic java.time.LocalDate fromString(java.lang.String string,
ConverterContext context)
fromString in interface ObjectConverter<java.time.LocalDate>fromString in class DefaultObjectConverter<java.time.LocalDate>string - the string to be converted.context - the converter context.protected java.time.format.DateTimeFormatter getFullDateTimeFormatter()
getFullDateTimeFormatter in class TemporalAccessConverter<java.time.LocalDate>protected java.time.format.DateTimeFormatter getLongDateTimeFormatter()
getLongDateTimeFormatter in class TemporalAccessConverter<java.time.LocalDate>protected java.time.format.DateTimeFormatter getMediumDateTimeFormatter()
getMediumDateTimeFormatter in class TemporalAccessConverter<java.time.LocalDate>protected java.time.format.DateTimeFormatter getShortDateTimeFormatter()
getShortDateTimeFormatter in class TemporalAccessConverter<java.time.LocalDate>