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 Details

    • LocalDateValueConverter

      public LocalDateValueConverter()
  • Method Details

    • convert

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