Class DateDataToAttributeContentConverter

java.lang.Object
de.hybris.platform.cmsfacades.cmsitems.attributeconverters.DateDataToAttributeContentConverter
All Implemented Interfaces:
Converter<String,Date>

public class DateDataToAttributeContentConverter extends Object implements Converter<String,Date>
Attribute Converter for Date. Converts the Date to its proper Instant object and formats the date from ZoneOffset.UTC zone.
  • Constructor Details

    • DateDataToAttributeContentConverter

      public DateDataToAttributeContentConverter()
  • Method Details

    • convert

      public Date convert(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<String,Date>
      Parameters:
      source - the input to be converted.
      Returns:
      an instance of T, converted from the input source.