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