Class D8Converter
java.lang.Object
com.smeup.kokos.sdk.entity.converter.D8Converter
- All Implemented Interfaces:
EntityConverter
Converter for Smeup D8 date types.
Smeup supports several D8 sub-types:
D8*YYMD— compact date inyyyyMMddformat.
D8 without a sub-type is not a valid Smeup date type and will throw
EntityConverterException.- Author:
- mattia.bonardi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncellValueToValue(String entityClass, String smeupValue) valueToCellValue(String entityClass, Object value)
-
Constructor Details
-
D8Converter
public D8Converter()
-
-
Method Details
-
valueToCellValue
- Specified by:
valueToCellValuein interfaceEntityConverter- Throws:
EntityConverterException
-
cellValueToValue
public LocalDate cellValueToValue(String entityClass, String smeupValue) throws EntityConverterException - Specified by:
cellValueToValuein interfaceEntityConverter- Throws:
EntityConverterException
-