Class DateDataToAttributeContentConverter

  • All Implemented Interfaces:
    Converter<java.lang.String,​java.util.Date>

    public class DateDataToAttributeContentConverter
    extends java.lang.Object
    implements Converter<java.lang.String,​java.util.Date>
    Attribute Converter for Date. Converts the Date to its proper Instant object and formats the date from ZoneOffset.UTC zone.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date convert​(java.lang.String source)
      Uses the source S object and produces an new instance of T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateDataToAttributeContentConverter

        public DateDataToAttributeContentConverter()
    • Method Detail

      • convert

        public java.util.Date convert​(java.lang.String source)
        Description copied from interface: Converter
        Uses the source S object and produces an new instance of T.
        Specified by:
        convert in interface Converter<java.lang.String,​java.util.Date>
        Parameters:
        source - the input to be converted.
        Returns:
        an instance of T, converted from the input source.