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 Details

    • LocalTimeValueConverter

      public LocalTimeValueConverter()
  • Method Details

    • convert

      public org.joda.time.LocalTime convert(Object inboundValue)
      Specified by:
      convert in interface ValueConverter<org.joda.time.LocalTime>