Class CustomDateConverter

java.lang.Object
de.hybris.platform.ycommercewebservices.conv.CustomDateConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class CustomDateConverter extends Object implements com.thoughtworks.xstream.converters.SingleValueConverter
Converter for a specific date format.
  • Constructor Details

    • CustomDateConverter

      public CustomDateConverter()
  • Method Details

    • setWsDateFormatter

      public void setWsDateFormatter(WsDateFormatter wsDateFormatter)
    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
    • toString

      public String toString(Object obj)
      Specified by:
      toString in interface com.thoughtworks.xstream.converters.SingleValueConverter
    • fromString

      public Object fromString(String str)
      Specified by:
      fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter