Class DateConverter

java.lang.Object
com.saperion.ngc.favorites.convert.DataTypeConverter
com.saperion.ngc.favorites.convert.DateConverter

public final class DateConverter extends DataTypeConverter
Date data type converter.
Author:
mak
  • Constructor Details

    • DateConverter

      protected DateConverter(int type)
      Constructor.
      Parameters:
      type - special date data type code(date, time, hijri,...)
  • Method Details

    • saValueToString

      public String saValueToString(com.saperion.intf.SaValue value)
      Description copied from class: DataTypeConverter
      Converts the type of the given field into the favorites specific string representation.
      Specified by:
      saValueToString in class DataTypeConverter
      Parameters:
      value - SaValue
      Returns:
      value as string
    • stringToSaValue

      public com.saperion.intf.SaValue stringToSaValue(String value)
      Description copied from class: DataTypeConverter
      Converts the favorites specific string representation into a SaValue.
      Specified by:
      stringToSaValue in class DataTypeConverter
      Parameters:
      value - value as string
      Returns:
      value SaValue