Class LocalDateValueConverter
java.lang.Object
ch.tocco.nice2.rest.entity.impl.values.LocalDateValueConverter
- All Implemented Interfaces:
ValueConverter<org.joda.time.LocalDate>
@Component
public class LocalDateValueConverter
extends Object
implements ValueConverter<org.joda.time.LocalDate>
This class creates
LocalDate
objects from inbound date strings.
The inbound date string must be in ISO8601 format (yyyy-MM-dd).-
Constructor Summary
-
Method Summary
-
Constructor Details
-
LocalDateValueConverter
public LocalDateValueConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceValueConverter<org.joda.time.LocalDate>
-