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